Cargo Features

[dependencies]
objectionable = { version = "0.3.1", default-features = false, features = ["alloc", "strict-provenance"] }
default = alloc

The alloc feature is set by default whenever objectionable is added without default-features = false somewhere in the dependency tree.

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.