Cargo Features
facet-format has no features set by default.
[dependencies]
facet-format = { version = "0.44.1", features = ["alloc", "stacker", "tracing", "net", "jit", "cranelift", "compact_str", "ariadne"] }
- alloc
- stacker
-
Stack growth guards for deep recursive deserialization.
Enables stacker
- tracing
-
Enable logging via tracing
Enables tracing
- net
-
Network types (IpAddr, SocketAddr, etc.)
Enables net of facet-core
- jit cranelift?
-
JIT-compiled deserialization using Cranelift - works with any FormatParser
Enables cranelift ^0.128, cranelift-jit ^0.128, cranelift-module ^0.128, cranelift-native ^0.128, libc, museair, and parking_lot
cranelift:
JIT compilation (optional)
Affects
facet-format::jit,parser::FormatJitParser… - cranelift = jit
-
Alias to unblock workspace-level
--features cranelift - compact_str
-
compact_str support
Enables compact_str of facet-core
- ariadne
-
Pretty error rendering with ariadne
Enables ariadne
Pretty error rendering (optional)