7f8d352e41c5314d4d8d6c9bfd643d270a7e4428
[dnssec-prover] / Cargo.toml
1 [package]
2 name = "dnssec-prover"
3 version = "0.5.1"
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 = ["bitcoin_hashes", "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 bitcoin_hashes = { version = "0.14", default-features = false, optional = true }
26 hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"], optional = true }
27 tokio_crate = { package = "tokio", version = "1.0", default-features = false, optional = true }
28
29 [dev-dependencies]
30 hex-conservative = { version = "0.1", default-features = false, features = ["alloc"] }
31 base64 = "0.21"
32 rand = { version = "0.8", default-features = false, features = ["getrandom"] }
33 tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
34 minreq = { version = "2.0" }
35
36 [lib]
37 name = "dnssec_prover"
38 path = "src/lib.rs"
39
40 [[bin]]
41 name = "http_proof_gen"
42 path = "src/http.rs"