Cargo Features
[dependencies]
objectionable = { version = "0.3.1", default-features = false, features = ["alloc", "strict-provenance"] }
- default = alloc
-
The
alloc
feature is set by default wheneverobjectionable
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
NB: we use the
document-features
crate.Feature Flags
Enable a dependency on
alloc
to allow boxing values on the heap.Affects
objectionable::BoxCapture
… - strict-provenance
-
Support sound execution under the [the experimental strict provenance memory model][rust-strictp]. See the section on soundness for more details.