Crates.io | ffizz |
lib.rs | ffizz |
version | 0.5.0 |
source | src |
created_at | 2023-04-26 00:48:22.501425 |
updated_at | 2023-06-19 20:24:16.252599 |
description | A library of utilities for exporting Rust libs for use in other languages |
homepage | |
repository | https://github.com/djmitche/ffizz |
max_upload_size | |
id | 848934 |
size | 2,289 |
ffizz is a library of utilities for exporting Rust libs for use in other languages.
FFI generally requires a lot of unsafe code, which in turn requires a lot of manual verification of assumptions. The ffizz libraries help by implementing some common patterns with clear safety guidelines that are easily described in the documentation for the C side of the interface.
Ffizz differs from other FFI utilities like uniffi, cxx, or diplomat in that it does not generate bindings. Instead, it's aimed at situations where you want precise control over the interface, in a safe and ergonomic fashion. If you want to implement exactly the C API you have in mind, Ffizz is the tool.