X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=70a406717e889bc5bc4b74d3d3c42ed78d88ed1a;hb=99c90e3e3a77d431e3c6b7149aa43f93a793f579;hp=602205bc2ae7cb99ac50e6c6a87c50e0c31990ba;hpb=8fd62d4d9f7f96235b189efb1d878d458bd75cda;p=dnssec-prover diff --git a/Cargo.toml b/Cargo.toml index 602205b..70a4067 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dnssec-prover" -version = "0.3.2" +version = "0.4.0" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://git.bitcoin.ninja/index.cgi?p=dnssec-prover" @@ -10,14 +10,19 @@ categories = ["cryptography", "no-std"] edition = "2021" rust-version = "1.60.0" +[package.metadata.docs.rs] +features = ["std", "validation", "tokio"] + [features] +default = ["validation"] std = [] +validation = ["ring", "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"] } -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 } [dev-dependencies]