Cargo Features
[dependencies]
facet-yaml = { version = "0.25.4", default-features = false, features = ["std", "alloc", "deserialize", "serialize", "ulid", "time", "log"] }
- default = deserialize, serialize, std
-
These default features are set whenever
facet-yaml
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of facet-core and facet-reflect
facet-reflect:
Enable the standard library features
- alloc deserialize serialize std
-
Enables alloc of facet-core and facet-reflect
facet-reflect:
Enable the allocation features
Affects
serialize::to_string
… - deserialize default = alloc
- serialize default = alloc
-
Enables facet-serialize
- ulid
-
Enables ulid of facet-core
- time
-
Enables time of facet-core
- log
-
Enables log