Cargo Features
uniffi_core has no features set by default.
[dependencies]
uniffi_core = { version = "0.29.2", features = ["ffi-trace", "tokio", "scaffolding-ffi-buffer-fns", "wasm-unstable-single-threaded"] }
- ffi-trace
-
Printout tracing information on FFI calls. Useful for debugging issues with the bindings code.
- 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
… - wasm-unstable-single-threaded
-
Support for WebAssembly targets in a single-threaded environment.
This feature is unstable and may change in the future.Affects
ffi_converter_traits::FfiConverterArc
…