Cargo Features
zvariant has no features set by default.
[dependencies]
zvariant = { version = "4.0.2", features = ["gvariant", "ostree-tests", "option-as-array", "arrayvec", "enumflags2", "serde_bytes", "uuid", "url", "time", "chrono"] }
- gvariant ostree-tests?
-
FIXME: Also allow disabling D-Bus support
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.
Features from optional dependencies
- arrayvec implicit feature
- 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