validation = ["bitcoin_hashes", "hex_lit"]
tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"]
build_server = ["tokio", "tokio_crate/rt-multi-thread", "tokio_crate/macros"]
+slower_smaller_binary = []
[dependencies]
bitcoin_hashes = { version = "0.14", default-features = false, optional = true }
`/dnssecproof?d=domain&t=rr_type`, returning the binary proof containing and
proving the Resource Record of type `rr_type` at `domain`.
+The `slower_smaller_binary` feature slows proof validation down by 50%+ for a
+very marginal reduction in binary size, but those who are extremely binary size
+constrained may still find it useful.
+
See https://docs.rs/dnssec-prover for full API details on the Rust API.
There's also a website which demonstrates the WASM build of this crate at
https://http-dns-prover.as397444.net/ which allows for making validated queries.
//! * Finally, the crate can be built as a binary using the `build_server` feature, responding to
//! queries over HTTP GET calls to `/dnssecproof?d=domain.name.&t=RecordType` with DNSSEC
//! proofs.
+//!
+//! The `slower_smaller_binary` feature slows proof validation down by 50%+ for a very marginal
+//! reduction in binary size, but those who are extremely binary size constrained may still find it
+//! useful.
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]
cargo $RUST_VERSION test --no-default-features --features tokio
cargo $RUST_VERSION test --no-default-features --features validation
cargo $RUST_VERSION test --features std,tokio,validation
+cargo $RUST_VERSION test --features std,tokio,validation,slower_smaller_binary
cargo $RUST_VERSION test --no-default-features --features build_server
cargo $RUST_VERSION build --lib
cargo $RUST_VERSION build --lib --features std
edition = "2021"
[dependencies]
-dnssec-prover = { path = "../", default-features = false, features = ["validation"] }
+dnssec-prover = { path = "../", default-features = false, features = ["validation", "slower_smaller_binary"] }