# 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 = "secmem-alloc" version = "0.3.0" authors = ["niluxv "] build = false include = [ "src/**/*", "tests", "benches", "COPYING", "LICENSE.*", "README.md", "build.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Custom allocators for secret memory" readme = "README.md" keywords = [ "allocator", "secure", "memory", ] categories = [ "no-std", "memory-management", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/niluxv/secmem-alloc" [package.metadata.docs.rs] all-features = true [profile.release] codegen-units = 1 [lib] name = "secmem_alloc" path = "src/lib.rs" [[test]] name = "zeroizing_global_alloc" path = "tests/zeroizing_global_alloc.rs" [dependencies.allocator-api2] version = "0.2" default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.mirai-annotations] version = "1.12" [dependencies.sptr] version = "0.3" [dependencies.thiserror] version = "1.0" optional = true [features] default = ["std"] dev = ["std"] nightly = [ "nightly_allocator_api", "nightly_core_intrinsics", "nightly_strict_provenance", ] nightly_allocator_api = ["allocator-api2/nightly"] nightly_core_intrinsics = [] nightly_strict_provenance = [] std = [ "dep:thiserror", "allocator-api2/std", ] [target."cfg(unix)".dependencies.rustix] version = "0.38" features = [ "mm", "param", ] [target."cfg(windows)".dependencies.windows] version = "0.58" features = [ "Win32_System_SystemInformation", "Win32_System_Memory", ]