Cargo Features
[dependencies]
secmem-alloc = { version = "0.3.0", default-features = false, features = ["std", "nightly_allocator_api", "nightly_core_intrinsics", "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?
-
Enables thiserror ^1.0, std of allocator-api2
- nightly_allocator_api nightly?
-
Enables nightly of allocator-api2
- nightly_core_intrinsics nightly?
- 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_strict_provenance
- dev = std
-
required features to run tests; additional features enable more tests