Swap `ring` for our own in-crate ECDSA validator
[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", "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 bitcoin_hashes = { version = "0.14", default-features = false, 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 [target.'cfg(fuzzing)'.dependencies]
29 ibig = { version = "0.3", optional = true }
30
31 [dev-dependencies]
32 hex-conservative = { version = "0.1", default-features = false, features = ["alloc"] }
33 base64 = "0.21"
34 rand = { version = "0.8", default-features = false, features = ["getrandom"] }
35 tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
36 minreq = { version = "2.0" }
37
38 [profile.dev]
39 opt-level = 1
40
41 [lib]
42 name = "dnssec_prover"
43 path = "src/lib.rs"
44
45 [[bin]]
46 name = "http_proof_gen"
47 path = "src/http.rs"