Cargo Features
[dependencies]
zbus = { version = "3.14.1", default-features = false, features = ["xml", "gvariant", "uuid", "url", "time", "chrono", "windows-gdbus", "async-io", "tokio", "vsock", "tokio-vsock", "quick-xml"] }
- default = async-io
-
The
async-io
feature is set by default wheneverzbus
is added without
somewhere in the dependency tree.default-features = false - xml = serde-xml-rs
-
Affects
zbus::xml
… - gvariant
- uuid
- url
- time
- chrono
- windows-gdbus
- async-io default = async-executor, async-fs, async-lock, async-task, blocking
-
Enables async-io ^1.12.0 and io of futures-util
futures-util:
activate default features
- tokio tokio-vsock?
-
Affects
executor::Executor
,executor::Task
,file::FileLines
,utils::block_on
… - vsock
-
Enables async-io ^1.12.0 and vsock
Affects
address::VsockAddress
… - tokio-vsock = tokio
-
Enables tokio-vsock ^0.3.3
Affects
address::VsockAddress
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- serde-xml-rs xml?
-
Enables serde-xml-rs ^0.4.1
- async-lock async-io
-
Enables async-lock ^2.6.0
- async-executor async-io
- blocking async-io
- async-task async-io
- async-fs async-io
-
Enables async-fs ^1.6.0
- quick-xml implicit feature
-
Enables serialize and overlapped-lists of quick-xml ^0.27.1
Affects
zbus::quick_xml
…