Cargo Features

[dependencies]
toml_edit = { version = "0.22.22", default-features = false, features = ["parse", "display", "perf", "serde", "unbounded"] }
default = display, parse

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

parse default

Enables winnow

Affects de::from_str, de::from_slice

display default

Affects repr::ValueRepr.to_repr, ser::to_vec, ser::to_string, ser::to_string_pretty

perf

Enables kstring

serde

Enables serde and serde_spanned, serde of toml_datetime

Affects toml_edit::de, toml_edit::ser

unbounded

Provide a method disable_recursion_limit to parse arbitrarily deep structures without any consideration for overflowing the stack. Additionally you will need to be careful around other recursive operations on the parsed result which may overflow the stack after deserialization has completed, including,
but not limited to, Display and Debug and Drop impls.