# 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 = "memsecurity" version = "3.5.2" authors = ["448 ENGINEERING Developers "] description = "Securely hold secrets in memory and protect them against cross-protection-boundary readout via microarchitectural, via attacks on physical layout, and via coldboot attacks." homepage = "https://github.com/448-engineering/MEMSECURITY" readme = "README.md" keywords = [ "in-memory", "security", ] categories = [ "cryptography", "memory-management", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/448-engineering/MEMSECURITY" [profile.dev] overflow-checks = true [profile.release] opt-level = 3 lto = "thin" overflow-checks = true strip = "debuginfo" [dependencies.arrayvec] version = "0.7.4" features = ["zeroize"] optional = true default-features = true [dependencies.ascon-aead] version = "0.4.2" features = ["zeroize"] optional = true [dependencies.blake3] version = "1.5.0" optional = true default-features = true [dependencies.borsh] version = "1.2.1" features = [ "bytes", "borsh-derive", "derive", ] [dependencies.bytes] version = "1.5.0" optional = true [dependencies.ed25519-dalek] version = "2.1.0" features = [ "signature", "zeroize", ] optional = true [dependencies.memsec] version = "0.6.3" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.rand_chacha] version = "0.3.1" optional = true default-features = false [dependencies.rand_core] version = "0.6.4" features = ["getrandom"] optional = true [dependencies.uuid] version = "1.6.1" features = [ "v4", "rng", ] optional = true default-features = false [dependencies.x25519-dalek] version = "2.0.0" features = [ "zeroize", "static_secrets", ] optional = true [dependencies.zeroize] version = "1.7.0" features = ["derive"] default-features = false [features] clonable_mem = [] default = [ "encryption", "random", "symm_asymm", ] ed25519 = ["dep:ed25519-dalek"] encryption = [ "dep:once_cell", "random", "dep:memsec", "dep:blake3", "symm_asymm", "dep:ascon-aead", ] full = [ "encryption", "random", "ed25519", "x25519", "symm_asymm", "clonable_mem", "uuid", ] random = [ "dep:rand_core", "dep:rand_chacha", ] symm_asymm = [ "dep:bytes", "dep:arrayvec", "dep:blake3", ] uuid = ["dep:uuid"] x25519 = ["dep:x25519-dalek"] [badges.maintenance] status = "passively-maintained"