X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=05eccea6773d4c37ecaabc2d41a8952882ed404b;hb=HEAD;hp=70a406717e889bc5bc4b74d3d3c42ed78d88ed1a;hpb=7113528e2de57880d68815b3b57079ada06a501a;p=dnssec-prover diff --git a/Cargo.toml b/Cargo.toml index 70a4067..9591da1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dnssec-prover" -version = "0.4.0" +version = "0.5.4" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://git.bitcoin.ninja/index.cgi?p=dnssec-prover" @@ -16,21 +16,28 @@ features = ["std", "validation", "tokio"] [features] default = ["validation"] std = [] -validation = ["ring", "hex_lit"] +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] -ring = { version = "0.17", default-features = false, features = ["alloc"], optional = true } +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"