mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
05dc474cb3
If a crate has std set, it should enable std for all dependencies in order to let them properly select which algorithms to use. Some crates fallback to slower/worse algorithms on no-std. Also more aggressively sets default-features = false leading to a *10%* reduction in the amount of crates coordinator builds.
23 lines
606 B
TOML
23 lines
606 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.60"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
zeroize = { version = "^1.5", default-features = false }
|
|
|
|
[features]
|
|
std = ["zeroize/std"]
|
|
default = ["std"]
|
|
# Commented for now as it requires nightly and we don't use nightly
|
|
# allocator = []
|