Cargo Features
[dependencies]
facet-toml = { version = "0.21.0", default-features = false, features = ["std", "alloc", "deserialize", "serialize", "rich-diagnostics"] }
- default = deserialize, rich-diagnostics, serialize, std
-
These default features are set whenever
facet-toml
is added without
somewhere in the dependency tree.default-features = false - std default rich-diagnostics = alloc
-
Enables std of facet-core, facet-reflect, optional facet-serialize, num-traits, and optional toml_write
facet-reflect:
Enable the standard library features
- alloc deserialize std
-
Enables alloc of facet-core, facet-reflect, optional facet-serialize, and optional toml_write
facet-reflect:
Enable the allocation features
- deserialize default = alloc
-
Enables toml_edit
- serialize default
-
Enables facet-serialize and toml_write
- rich-diagnostics default = std
-
Enables ariadne
facet-toml has 6 features without comments.