Cargo Features

[dependencies]
uniffi_bindgen = { version = "0.28.2", default-features = false, features = ["cargo-metadata", "bindgen-tests"] }
default = cargo-metadata

The cargo-metadata feature is set by default whenever uniffi_bindgen is added without default-features = false somewhere in the dependency tree.

cargo-metadata default bindgen-tests?

Enables cargo_metadata ^0.15

Affects uniffi_bindgen::cargo_metadata

bindgen-tests = cargo-metadata

Enables uniffi_testing

Affects kotlin::test, bindings::RunScriptOptions, python::test, ruby::test, swift::test