Cargo Features

uniffi_macros has no features set by default.

[dependencies]
uniffi_macros = { version = "0.28.3", features = ["trybuild", "scaffolding-ffi-buffer-fns", "nightly"] }
trybuild

Enable the generate_and_include_scaffolding! macro

Enables uniffi_build

Affects uniffi_macros::generate_and_include_scaffolding

scaffolding-ffi-buffer-fns

Generate extra scaffolding functions that use FfiBuffer to pass arguments and return values

nightly

Enable extra features that require a nightly compiler:
* Add the full module path of exported items to FFI metadata instead of just the crate name.
This may be used by language backends to generate nested module structures in the future.

Affects util::mod_path