# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.58.1" name = "disco-rs" version = "0.6.0" authors = ["Dave Huseby "] description = "A no-std, pure Rust impl of Disco Noise Protocol extension" documentation = "https://docs.rs/disco-rs" readme = "README.md" keywords = [ "cryptography", "no-std", "noise", "strobe", "disco", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0" repository = "https://github.com/cryptidtech/disco-rs" resolver = "2" [dependencies.anyhow] version = "1.0" default-features = false [dependencies.cde] version = "0.3" default-features = false [dependencies.heapless] version = "0.7" features = ["serde"] default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.rand] version = "0.8" features = ["serde1"] optional = true default-features = false [dependencies.rand_chacha] version = "0.3" features = ["serde1"] optional = true default-features = false [dependencies.rand_core] version = "0.6" [dependencies.rand_core5] version = "0.5" package = "rand_core" [dependencies.rand_xorshift] version = "0.3" optional = true [dependencies.semver] version = "1.0" features = ["serde"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde-big-array] version = "0.4.1" default-features = false [dependencies.strobe-rs] version = "0.7" features = ["serialize_secret_state"] default-features = false [dependencies.thiserror] version = "1.0" default-features = false [dependencies.zeroize] version = "1.3" [dev-dependencies.cde] version = "0.3" [dev-dependencies.elliptic-curve] version = "0.10" features = ["ecdh"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand7] version = "0.7" package = "rand" [dev-dependencies.rand_chacha] version = "0.3" features = ["serde1"] [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.serde_cbor] version = "0.11.2" [dev-dependencies.x25519-dalek] version = "1.2" features = ["serde"] [features] alloc = [ "cde/alloc", "rand/alloc", ] default = ["std"] no-std = [ "cde/no-std", "rand_xorshift", ] preselect = [ "cde/default", "rand/getrandom", "rand_xorshift", ] std = [ "cde/std", "rand/std", "rand/std_rng", ]