Cargo Features

[dependencies]
nondestructive = { version = "0.0.25", default-features = false, features = ["yaml", "serde", "serde-edits"] }
default = yaml

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

yaml default
serde

Enables serde, serde of bstr

Affects yaml::serde

serde-edits

Enables serde of bstr, serde of slab and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.