[package] name = "kuska-handshake" version = "0.2.0" authors = ["Dhole ", "Adria Massanet "] edition = "2018" license-file = "LICENSE" description = "Secure Scuttlebutt handshake + boxstream library" homepage = "https://github.com/Kuska-ssb" repository = "https://github.com/Kuska-ssb/handshake" readme = "README.md" keywords = ["kuska", "handshake", "boxstream", "ssb", "scuttlebutt"] categories = ["asynchronous", "cryptography", "authentication", "network-programming"] [lib] name = "kuska_handshake" [dependencies] sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" } futures = { version = "0.3.17", optional = true } log = "0.4.8" tokio = { version = "1.0", default-features = false, features=["net", "io-util"], optional = true } hex = "0.4.2" thiserror = "1.0" [dev-dependencies] async-std = { version = "1.10", features= ["unstable", "attributes"] } test_utils = { path = "test_utils" } crossbeam = "0.7.3" env_logger = "0.7.1" base64 = "0.12.1" [features] default = [] sync = [] async_std = [ "futures" ] tokio_compat = [ "async_std", "tokio" ] [[example]] name = "handshake-boxstream-bench-sync" required-features = ["sync"] [[example]] name = "handshake-boxstream" required-features = ["sync"] [[example]] name = "handshake" required-features = ["sync"] [[example]] name = "handshake-boxstream-bench-async" required-features = ["async_std"]