Cargo Features

[dependencies]
ffi_types = { version = "0.0.12", default-features = false, features = ["cxx", "vec", "cc"] }
default = cxx

The cxx feature is set by default whenever ffi_types is added without default-features = false somewhere in the dependency tree.

cxx default = cbindgen, libc

Affects ffi_types::cbindgen

vec

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.

cbindgen cxx

Enables cbindgen ^0.26.0

libc cxx
cc build implicit feature