# 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" name = "snowstorm" version = "0.4.0" authors = ["black-binary "] description = "A minimalistic encryption protocol based on Noise protocol (snow)" readme = "README.md" categories = ["Cryptography"] license = "Apache-2.0" repository = "https://github.com/black-binary/snowstorm" [[bench]] name = "stress" harness = false [dependencies.bytes] version = "1" optional = true [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.pin-project] version = "1" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.snow] version = "0.9" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["io-util"] [dev-dependencies.anyhow] version = "1" [dev-dependencies.criterion] version = "0.3" features = ["async_tokio"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "stream", "socket", ] libsodium-accelerated = ["snow/libsodium-accelerated"] ring-accelerated = ["snow/ring-accelerated"] socket = [ "tokio/rt", "tokio/time", "bytes", "rand", ] stream = ["pin-project"]