[package] edition = "2021" authors = ["Guanhao Yin "] license = "Unlicense" name = "noise-rust-crypto" readme = "README.md" repository = "https://github.com/sopium/noise-rust" version = "0.6.2" description = "Wrappers of dalek and RustCrypto crates for noise-protocol" [features] default = ["use-x25519", "use-chacha20poly1305", "use-aes-256-gcm", "use-blake2", "use-sha2"] x25519 = ["x25519-dalek", "x25519-dalek/static_secrets"] use-x25519 = ["x25519", "x25519-dalek/precomputed-tables", "x25519-dalek/zeroize", "x25519-dalek/getrandom"] use-chacha20poly1305 = ["chacha20poly1305"] use-aes-256-gcm = ["aes-gcm"] use-blake2 = ["blake2"] use-sha2 = ["sha2"] [dependencies] x25519-dalek = { version = "2.0.0", optional = true, default-features = false } aes-gcm = { version = "0.10.3", features = ["aes"], default-features = false, optional = true } chacha20poly1305 = { version = "0.10.1", default-features = false, optional = true } blake2 = { version = "0.10.6", optional = true } sha2 = { version = "0.10.8", optional = true, default-features = false } zeroize = { version = "1", default-features = false } [dependencies.noise-protocol] path = "../noise-protocol" version = "0.2.0" default-features = false [dev-dependencies] hex = "0.4.3"