Cargo Features

uniffi_core has no features set by default.

[dependencies]
uniffi_core = { version = "0.28.3", features = ["tokio", "scaffolding-ffi-buffer-fns"] }
tokio

Enable support for Tokio's futures. This must still be opted into on a per-function basis using #[uniffi::export(async_runtime = "tokio")].

Enables async-compat

scaffolding-ffi-buffer-fns

Enable support for the ffi buffer scaffolding functions

Affects ffi::ffiserialize