2022-11-10 23:34:40 -06:00
|
|
|
[package]
|
|
|
|
|
name = "zalloc"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "An allocator wrapper which zeroizes memory on dealloc"
|
|
|
|
|
license = "MIT"
|
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/common/zalloc"
|
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
|
keywords = []
|
|
|
|
|
edition = "2021"
|
2025-08-26 14:04:39 -04:00
|
|
|
# This must be specified with the patch version, else Rust believes `1.77` < `1.77.0` and will
|
|
|
|
|
# refuse to compile due to relying on versions introduced with `1.77.0`
|
|
|
|
|
rust-version = "1.77.0"
|
2022-11-10 23:34:40 -06:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
all-features = true
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
2023-12-16 20:54:24 -05:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
2022-11-10 23:34:40 -06:00
|
|
|
[dependencies]
|
2023-07-26 03:03:44 -04:00
|
|
|
zeroize = { version = "^1.5", default-features = false }
|
2022-11-10 23:34:40 -06:00
|
|
|
|
2024-06-01 21:46:47 -04:00
|
|
|
[build-dependencies]
|
|
|
|
|
rustversion = { version = "1", default-features = false }
|
|
|
|
|
|
2022-11-10 23:34:40 -06:00
|
|
|
[features]
|
2023-10-31 07:41:23 -04:00
|
|
|
std = ["zeroize/std"]
|
|
|
|
|
default = ["std"]
|
2024-06-01 21:46:47 -04:00
|
|
|
allocator = []
|