# 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 = "alkali" version = "0.3.0" authors = ["tom25519 "] description = "Safe Rust bindings to the Sodium cryptographic library" readme = "README.md" keywords = [ "cryptography", "libsodium", "nacl", "sodium", ] categories = [ "api-bindings", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tom25519/alkali" [package.metadata.docs.rs] features = [ "aes", "alloc", "hazmat", ] rustdoc-args = [ "--cfg", "doc_cfg", ] [dependencies.lazy_static] version = "1.4" [dependencies.libc] version = "0.2" default-features = false [dependencies.libsodium-sys-stable] version = "1.19" [dependencies.rand_core] version = "0.6" [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde-big-array] version = "0.5" optional = true [dev-dependencies.rand] version = "0.8" [dev-dependencies.rpassword] version = "7.2" [features] aead-chacha20 = [] aes = [] alloc = [] curve = [] default = [ "use-serde", "std", ] fetch-latest = ["libsodium-sys-stable/fetch-latest"] hazmat = [ "aead-chacha20", "curve", "onetimeauth", "sha2", "stream", ] minimal = ["libsodium-sys-stable/minimal"] onetimeauth = [] optimized = ["libsodium-sys-stable/optimized"] sha2 = [] std = ["rand_core/std"] stream = [] use-pkg-config = ["libsodium-sys-stable/use-pkg-config"] use-serde = [ "serde", "serde-big-array", ]