Cargo Features

[dependencies]
temp-inst = { version = "1.0.0", default-features = false, features = ["std", "alloc", "either", "derive"] }
default = either, std

These default features are set whenever temp-inst is added without default-features = false somewhere in the dependency tree.

std default = alloc

Rely on functionality from the standard library, in particular for the special panic behavior requirements of this crate.
If not enabled, a certain panic situation will result in an endless loop instead of a regular panic, unless overridden.

alloc std

Add a temporary representation for the Cow type. Enabled by default.

Affects temp-inst::TempCow

either default

Add a temporary representation for the Either type defined in the either crate.

Enables either

derive

Support #[derive(TempRepr, TempReprMut, TempReprMutChk)].

Enables temp-inst-derive