Cargo Features
[dependencies]
facet = { version = "0.27.4", default-features = false, features = ["reflect", "testfeat", "std", "alloc", "camino", "uuid", "ulid", "ordered-float", "jiff02", "time", "url"] }
- default = std
-
The
std
feature is set by default wheneverfacet
is added without
somewhere in the dependency tree.default-features = false - reflect
-
Enables reflection via Peek and Poke types
Enables facet-reflect
- testfeat
-
Does nothing, only used for tests
- std default = alloc
-
Uses libstd and alloc
Enables std of facet-core
- alloc std
-
Enables alloc support
Enables alloc of facet-core
- camino
-
Implements Facet for camino types (Utf8PathBuf, Utf8Path)
Enables camino of facet-core
- uuid
-
Implements Facet for Uuid
Enables uuid of facet-core
- ulid
-
Implements Facet for Ulid
Enables ulid of facet-core
- ordered-float
-
Implements Facet for OrderedFloat
Enables ordered-float of facet-core
- jiff02
-
Implements Facet for jiff types (Zoned, Offset, etc.)
Enables jiff02 of facet-core
- time
-
Implements Facet for time types (OffsetDateTime, PrimitiveDateTime, etc.)
Enables time of facet-core
- url
-
Implements Facet for Url
Enables url of facet-core