e94264d6035d8c2f61aa45059a3e3122a9591c9a
[dnssec-prover] / Cargo.toml
1 [package]
2 name = "dnssec-prover"
3 version = "0.5.0"
4 authors = ["Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "https://git.bitcoin.ninja/index.cgi?p=dnssec-prover"
7 description = "A simple crate which allows for the creation and validation of transferrable proofs of entries in the DNS."
8 keywords = ["dns", "dnssec", "rfc9102", "no-std"]
9 categories = ["cryptography", "no-std"]
10 edition = "2021"
11 rust-version = "1.60.0"
12
13 [package.metadata.docs.rs]
14 features = ["std", "validation", "tokio"]
15
16 [features]
17 default = ["validation"]
18 std = []
19 validation = ["ring", "hex_lit"]
20 tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"]
21 build_server = ["tokio", "tokio_crate/rt-multi-thread", "tokio_crate/macros"]
22
23 [dependencies]
24 ring = { version = "0.17", default-features = false, features = ["alloc"], optional = true }
25 hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"], optional = true }
26 tokio_crate = { package = "tokio", version = "1.0", default-features = false, optional = true }
27
28 [dev-dependencies]
29 hex-conservative = { version = "0.1", default-features = false, features = ["alloc"] }
30 base64 = "0.21"
31 rand = { version = "0.8", default-features = false, features = ["getrandom"] }
32 tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
33 minreq = { version = "2.0" }
34
35 [lib]
36 name = "dnssec_prover"
37 path = "src/lib.rs"
38
39 [[bin]]
40 name = "http_proof_gen"
41 path = "src/http.rs"