X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=5e31b018ee966a7669f15c6a837a6e275bc52a3e;hb=54a0563ea610ef8a2c1d19347f6417cd61e43917;hp=af51720e51e1d72c6655e165d9820f4a13accac8;hpb=9cd85e814a1981a797a34efee3b4ff7d8c251491;p=dnssec-prover diff --git a/Cargo.toml b/Cargo.toml index af51720..5e31b01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,20 +1,26 @@ [package] name = "dnssec-prover" -version = "0.1.0" +version = "0.2.0" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" -repository = "https://git.bitcoin.ninja/dnssec-prover" +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" +[features] +std = [] +tokio = ["tokio_crate/net", "tokio_crate/io-util", "std"] + [dependencies] ring = { version = "0.17", default-features = false, features = ["alloc"] } hex_lit = { version = "0.1", default-features = false, features = ["rust_v_1_46"] } +tokio_crate = { package = "tokio", version = "1.0", default-features = false, 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"] }