[package]
name = "snow"
description = "A pure-rust implementation of the Noise Protocol Framework"
homepage = "https://snow.rs"
documentation = "https://snow.rs/doc/snow"
repository = "https://github.com/mcginty/snow"
version = "0.7.2"
authors = ["Jake McGinty <me@jake.su>", "trevp"]
license = "Unlicense"
categories = ["cryptography"]
readme = "README.md"
keywords = ["noise", "protocol", "crypto"]
edition = "2018"
[features]
default = ["default-resolver"]
default-resolver = ["aes-gcm", "chacha20poly1305", "blake2", "sha2", "x25519-dalek", "rand"]
nightly = ["blake2/simd_opt", "x25519-dalek/nightly", "subtle/nightly"]
ring-resolver = ["ring"]
ring-accelerated = ["ring-resolver", "default-resolver"]
libsodium-resolver = ["sodiumoxide", "byteorder"]
libsodium-accelerated = ["libsodium-resolver", "default-resolver"]
vector-tests = []
hfs = []
pqclean_kyber1024 = ["pqcrypto-kyber", "pqcrypto-traits", "hfs", "default-resolver"]
xchachapoly = ["chacha20poly1305", "default-resolver"]
risky-raw-split = []
[[bench]]
name = "benches"
harness = false
[badges]
travis-ci = { repository = "mcginty/snow", branch = "master" }
[dependencies]
rand_core = "0.5"
subtle = "2.2"
aes-gcm = { version = "0.7", optional = true }
chacha20poly1305 = { version = "0.6", optional = true }
blake2 = { version = "0.9", optional = true }
rand = { version = "0.7", optional = true }
sha2 = { version = "0.9", optional = true }
x25519-dalek = { version = "1.1", optional = true }
pqcrypto-kyber = { version = "0.6", optional = true }
pqcrypto-traits = { version = "0.3", optional = true }
ring = { version = "^0.16.2", optional = true, features = ["std"] }
sodiumoxide = { version = "0.2", optional = true }
byteorder = { version = "1.3", optional = true }
[dev-dependencies]
clap = "2"
criterion = "0.3"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
hex = "0.4"
lazy_static = "1.4"
[build-dependencies]
rustc_version = "0.2"
[package.metadata.docs.rs]
features = [ "ring-resolver", "libsodium-resolver" ]
all-features = false
no-default-features = false