Provide sources for the EC math and use a faster double algorithm
[dnssec-prover] / Cargo.toml
1 [package]
2 name = "dnssec-prover"
3 version = "0.5.3"
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 serde_json = { version = "1.0", default-features = false, features = ["std"] }
38
39 [profile.dev]
40 opt-level = 1
41
42 [lib]
43 name = "dnssec_prover"
44 path = "src/lib.rs"
45
46 [[bin]]
47 name = "http_proof_gen"
48 path = "src/http.rs"