Name Description Size Coverage
callable.rs Extract common data from Function/Method/Constructor into Callable 4118 -
callback_interfaces.rs FFI info for callback interfaces 12523 -
checksums.rs 3958 -
default.rs 720 -
enums.rs 4867 -
ffi_async_data.rs 2767 -
ffi_functions.rs Add FFI scaffolding function info 3154 -
ffi_types.rs Add [TypeNode::ffi_type] 3417 -
mod.rs General IR - a useful starting point for language-specific IRs. 1777 -
modules.rs 396 -
nodes.rs 19308 -
objects.rs 3578 -
records.rs 489 -
rename.rs Renames items based on TOML table lookups. Items can only be renamed in their own crate, so we use uniffi.toml from each crate Then mutate all itens based on these lookups. 5703 -
rust_buffer.rs RustBuffer-related FFI functions 3391 -
rust_future.rs 6134 -
self_types.rs Add a `self_type` field to type definitions, this way they get access to the fields in `TypeNode`. 1921 -
sort.rs Sort definitions so that dependencies come first This is needed for languages like Python that will throw errors if the dependent type is defined by its dependency. 7764 -
type_definitions_from_api.rs Add TypeDefinitions for types used in the API as arguments, return types, throws types, etc. Most bindings will need to define FFI converters for these. 4859 -
type_nodes.rs Set the TypeNode::is_used_as_error field Bindings often treat error types differently, for example by adding `Exception` to their names. 3321 -
uniffi_traits.rs Removes uniffi_traits from nodes, moving them to uniffi_trait_methods. 1324 -