mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
2a05cf3225
Replaces #571.
28 lines
644 B
TOML
28 lines
644 B
TOML
[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"
|
|
rust-version = "1.77.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
zeroize = { version = "^1.5", default-features = false }
|
|
|
|
[build-dependencies]
|
|
rustversion = { version = "1", default-features = false }
|
|
|
|
[features]
|
|
std = ["zeroize/std"]
|
|
default = ["std"]
|
|
allocator = []
|