# 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 = "sodoken" version = "0.0.901-alpha" authors = ["Holochain Core Dev Team "] description = "libsodium wrapper providing tokio safe memory secure api access." documentation = "https://docs.rs/sodoken" readme = "README.md" keywords = [ "holochain", "holo", "nacl", "libsodium", "cryptography", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/holochain/sodoken" resolver = "2" [package.metadata.docs.rs] all-features = true [[bench]] name = "blake2b" harness = false required-features = ["legacy"] [[bench]] name = "random" harness = false required-features = ["legacy"] [[bench]] name = "sign" harness = false required-features = ["legacy"] [dependencies.libc] version = "0.2.153" [dependencies.libsodium-sys] version = "1.20.5" package = "libsodium-sys-stable" [dependencies.num_cpus] version = "1.16.0" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.one_err] version = "0.0.8" optional = true [dependencies.parking_lot] version = "0.12.1" optional = true [dependencies.tokio] version = "1.37.0" features = [ "sync", "rt", ] optional = true [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.tokio] version = "1.37.0" features = ["full"] [features] default = [] legacy = [ "dep:num_cpus", "dep:once_cell", "dep:one_err", "dep:parking_lot", "dep:tokio", ]