Cargo Features
[dependencies]
facet = { version = "0.27.14", default-features = false, features = ["function", "reflect", "testfeat", "std", "alloc", "bytes", "camino", "uuid", "ulid", "ordered-float", "jiff02", "time", "chrono", "url", "tuples-12", "fn-ptr"] }
- default = std
-
The
std
feature is set by default wheneverfacet
is added without
somewhere in the dependency tree.default-features = false - function
-
Enable function shape introspection
Enables function of facet-macros
- reflect
-
Enable reflection via Peek and Poke types
Enables facet-reflect
- testfeat
-
Does nothing, only used for tests
- std default = alloc
-
Enable standard library support
Enables std of facet-core
- alloc std
-
Enable allocation support for no_std environments
Enables alloc of facet-core
- bytes
-
Provide Facet trait implementations for bytes::Bytes and bytes::BytesMut
Enables bytes of facet-core
- camino
-
Provide Facet trait implementations for camino::Utf8Path and camino::Utf8PathBuf
Enables camino of facet-core
- uuid
-
Provide Facet trait implementations for uuid::Uuid
Enables uuid of facet-core
- ulid
-
Provide Facet trait implementations for ulid::Ulid
Enables ulid of facet-core
- ordered-float
-
Provide Facet trait implementations for ordered_float types
Enables ordered-float of facet-core
- jiff02
-
Provide Facet trait implementations for jiff crate types
Enables jiff02 of facet-core
- time
-
Provide Facet trait implementations for time crate types
Enables time of facet-core
- chrono
-
Provide Facet trait implementations for chrono crate types
Enables chrono of facet-core
- url
-
Provide Facet trait implementations for url::Url
Enables url of facet-core
- tuples-12
-
Provide Facet trait implementations for tuples up to size 12. Without it,
Facet is only implemented for tuples up to size 4.Enables tuples-12 of facet-core
- fn-ptr
-
Provide Facet trait implementations for function pointers.
Enables fn-ptr of facet-core