forked from TheBlueMatt/dnssec-prover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (40 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "dnssec-prover"
version = "0.5.4"
authors = ["Matt Corallo"]
license = "MIT OR Apache-2.0"
repository = "https://git.bitcoin.ninja/index.cgi?p=dnssec-prover"
description = "A simple crate which allows for the creation and validation of transferrable proofs of entries in the DNS."
keywords = ["dns", "dnssec", "rfc9102", "no-std"]
categories = ["cryptography", "no-std"]
edition = "2021"
rust-version = "1.60.0"
[package.metadata.docs.rs]
features = ["std", "validation", "tokio"]
[features]
default = ["validation"]
std = []
validation = ["bitcoin_hashes", "hex_lit"]
tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"]
build_server = ["tokio", "tokio_crate/rt-multi-thread", "tokio_crate/macros"]
[dependencies]
bitcoin_hashes = { version = "0.14", default-features = false, optional = true }
hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"], optional = true }
tokio_crate = { package = "tokio", version = "1.0", default-features = false, optional = true }
[target.'cfg(fuzzing)'.dependencies]
ibig = { version = "0.3", optional = true }
[dev-dependencies]
hex-conservative = { version = "0.1", default-features = false, features = ["alloc"] }
base64 = "0.21"
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
minreq = { version = "2.0" }
serde_json = { version = "1.0", default-features = false, features = ["std"] }
[profile.dev]
opt-level = 1
[lib]
name = "dnssec_prover"
path = "src/lib.rs"
[[bin]]
name = "http_proof_gen"
path = "src/http.rs"