Make HTTP server large-req DoS safe rather than using a frontend
[dnssec-prover] / Cargo.toml
1 [package]
2 name = "dnssec-prover"
3 version = "0.3.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 [features]
14 std = []
15 tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"]
16 build_server = ["tokio", "tokio_crate/rt-multi-thread", "tokio_crate/macros"]
17
18 [dependencies]
19 ring = { version = "0.17", default-features = false, features = ["alloc"] }
20 hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"] }
21 tokio_crate = { package = "tokio", version = "1.0", default-features = false, optional = true }
22
23 [dev-dependencies]
24 hex-conservative = { version = "0.1", default-features = false, features = ["alloc"] }
25 base64 = "0.21"
26 rand = { version = "0.8", default-features = false, features = ["getrandom"] }
27 tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
28 minreq = { version = "2.0" }
29
30 [lib]
31 name = "dnssec_prover"
32 path = "src/lib.rs"
33
34 [[bin]]
35 name = "http_proof_gen"
36 path = "src/http.rs"