Cargo Features

Qapi has no features set by default.

[dependencies]
qapi = { version = "0.14.0", features = ["qga", "qmp", "async", "async-tokio", "async-tokio-net", "async-tokio-spawn", "async-tokio-all", "async-tower"] }
qga = qapi-qga
qmp = qapi-qmp
async async-tokio? async-tower? = futures

Affects qapi::futures

async-tokio async-tokio-net? async-tokio-spawn? = async, bytes, memchr, tokio, tokio-util
async-tokio-net async-tokio-all? = async-tokio

Enables net of tokio

async-tokio-spawn async-tokio-all? = async-tokio

Enables rt of tokio

tokio:

Includes basic task execution capabilities

async-tokio-all = async-tokio-net, async-tokio-spawn
async-tower = async, tower-service

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio async-tokio? async-tokio-net? async-tokio-spawn?
tower-service async-tower?
tokio-util async-tokio?
futures async?
memchr async-tokio?
bytes async-tokio?
qapi-qga qga?
qapi-qmp qmp?

Affects futures::QmpStreamNegotiation, tokio::QmpStreamTokio