X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=5a71c1fb8898f8cfc2fee8b02f9c9cb83affff41;hb=a50b5198e38aabd23e5f22d7ddba4aee3b856e49;hp=c70cdf16021b52eae68772c006877740fda967d8;hpb=c89e9c90894f383527f9eb407a8dc1864b931b9c;p=dnssec-prover diff --git a/Cargo.toml b/Cargo.toml index c70cdf1..5a71c1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dnssec-prover" -version = "0.2.0" +version = "0.3.2" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://git.bitcoin.ninja/index.cgi?p=dnssec-prover" @@ -11,22 +11,22 @@ edition = "2021" rust-version = "1.60.0" [features] +default = ["validation"] std = [] +validation = ["ring", "hex_lit"] tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"] -build_server = ["tokio", "tokio-stream", "tokio_crate/rt-multi-thread", "tokio_crate/macros"] +build_server = ["tokio", "tokio_crate/rt-multi-thread", "tokio_crate/macros"] [dependencies] -ring = { version = "0.17", default-features = false, features = ["alloc"] } -hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"] } +ring = { version = "0.17", default-features = false, features = ["alloc"], 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 } -tokio-stream = { version = "0.1", default-features = false, optional = true, features = ["io-util"] } [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"] } -tokio-stream = { version = "0.1", default-features = false, features = ["io-util"] } minreq = { version = "2.0" } [lib]