# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "ssb-crypto" version = "0.2.3" authors = ["sean billig "] include = ["src/**/*", "LICENSE", "README.md"] description = "Crypto primitives used by Secure Scuttlebutt" documentation = "https://docs.rs/ssb-crypto/" readme = "README.md" keywords = ["ssb", "scuttlebutt", "crypto"] license = "LGPL-3.0" repository = "https://github.com/sunrise-choir/ssb-crypto" [dependencies.base64] version = "0.13.0" optional = true default_features = false [dependencies.curve25519-dalek] version = "3.0.0" features = ["u64_backend"] optional = true default_features = false [dependencies.ed25519-dalek] version = "1.0.1" features = ["u64_backend", "rand"] optional = true default_features = false [dependencies.hmac] version = "0.10.1" optional = true default_features = false [dependencies.libsodium-sys] version = "0.2.6" optional = true [dependencies.rand] version = "0.7.3" optional = true default_features = false [dependencies.sha2] version = "0.9.2" optional = true default_features = false [dependencies.sodiumoxide] version = "0.2.6" features = ["std"] optional = true default_features = false [dependencies.subtle] version = "2.4.0" features = ["i128"] optional = true default_features = false [dependencies.x25519-dalek] version = "1.1.0" features = ["u64_backend"] optional = true default_features = false [dependencies.xsalsa20poly1305] version = "0.6.0" optional = true default_features = false [dependencies.zerocopy] version = "0.3.0" [dependencies.zeroize] version = "1.2.0" features = ["zeroize_derive"] default_features = false [dev-dependencies.hex] version = "0.4.2" [features] alloc = ["b64", "base64/alloc"] b64 = ["base64"] dalek = ["dalek_module"] dalek_module = ["ed25519-dalek", "x25519-dalek", "curve25519-dalek", "xsalsa20poly1305", "rand", "sha2", "hmac", "subtle"] default = ["dalek", "b64", "getrandom", "alloc"] force_sodium = ["sodium"] getrandom = ["rand", "rand/getrandom"] sodium = ["sodium_module"] sodium_module = ["sodiumoxide", "libsodium-sys"]