Cargo Features
[dependencies]
secmem-alloc = { version = "0.2.0", default-features = false, features = ["std", "nightly_allocator_api", "nightly_core_intrinsics", "nightly_stdsimd", "nightly_strict_provenance", "nightly", "dev"] }
- default = std
-
The
std
feature is set by default wheneversecmem-alloc
is added without
somewhere in the dependency tree.default-features = false - std default dev? = thiserror
- nightly_allocator_api dev? nightly?
-
Affects
secmem-alloc::allocator_api
… - nightly_core_intrinsics nightly?
-
Affects
zeroize::volatile_memset
,zeroize::VolatileMemsetZeroizer
… - nightly_stdsimd nightly?
-
even though stabilised, still necessary for avx512
Affects
asm_x86_64::x86_64_simd64_zeroize_align64_block64
… - nightly_strict_provenance nightly?
-
enables strict provenance lints and uses strict provenance methods from std instead of those from
sptr
(for inherent methods only) - nightly = nightly_allocator_api, nightly_core_intrinsics, nightly_stdsimd, nightly_strict_provenance
- dev = nightly_allocator_api, std
-
required features to run tests; additional features enable more tests
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.