Cargo Features
[dependencies]
qemu-plugin-sys = { version = "9.0.0-v0", default-features = false, features = ["plugin-api-v1", "plugin-api-v2", "plugin-api-v3"] }
- default = plugin-api-v2
-
The
plugin-api-v2
feature is set by default wheneverqemu-plugin-sys
is added without
somewhere in the dependency tree.default-features = false - plugin-api-v1
-
Use the V1 plugin API, which is defined for versions below 9.0.0
Affects
build::PLUGIN_API_DEF_FILE_NAME
… - plugin-api-v2 default
-
Use the V2 plugin API, which is defined for version 9.0.0
Affects
build::PLUGIN_API_DEF_FILE_NAME
… - plugin-api-v3
-
Use the V3 plugin API, which is defined for versions above 9.0.0
Affects
build::PLUGIN_API_DEF_FILE_NAME
…