Cargo Features
zvariant has no features set by default.
[dependencies]
zvariant = { version = "5.1.0", features = ["gvariant", "ostree-tests", "option-as-array", "camino", "arrayvec", "enumflags2", "serde_bytes", "uuid", "url", "time", "chrono", "heapless"] }
- gvariant ostree-tests?
-
FIXME: Also allow disabling D-Bus support
Enables gvariant of zvariant_derive and zvariant_utils
Affects
zvariant::gvariant
,utils::MAYBE_SIGNATURE_CHAR
,utils::MAYBE_SIGNATURE_STR
… - ostree-tests = gvariant
- option-as-array
-
Enables ser/de of
Option<T>
as an array of 0 or 1 elements. - camino
-
Enables camino
Features from optional dependencies
- arrayvec implicit feature
-
Enables arrayvec
Optional dependencies
- enumflags2 implicit feature
-
Enables enumflags2
enumflags2:
Enum-based bit flags
- serde_bytes implicit feature
-
Enables serde_bytes
serde_bytes:
Optimized handling of
&[u8]
andVec<u8>
for Serde - uuid implicit feature
-
Enables uuid
uuid:
A library to generate and parse UUIDs
- url implicit feature
-
Enables url
url:
URL library for Rust, based on the WHATWG URL Standard
- time implicit feature
- chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- heapless implicit feature
-
Enables heapless
heapless:
static
friendly data structures that don't require dynamic memory allocation