Rust std library
If you enable the std feature, ezffi will generate some extra headers, ezffi/std/*.h. Each header defines a C-type for its respective Rust-type, enabling the user to export functions with #[ezffi::export] that receive or return those types. All the C-types for Rust std types are defined the same way non C-compatible struct C-types are, even if they are C-compatible — this has to do with me being unable to mark Rust types as #[repr(C)]. This may change in the future if I find a way to implement zero-cost export for any Rust-type. Also, only a few Rust types are being exported right now. The list is the following:
ArcBTreeMapBTreeSetHashMapHashSetRcVecVecDeque