CGlue 0.2.4
Changes in 0.2.4:
Make cglue generated exports easier to import:
-
cglue_##trait_or_groupname
module is exposed as public that contains all types that are being re-exported to parent module. -
In the future, these types may not be re-exported anymore, and code generator may rely on
cglue_##trait_or_groupname
to exist in scope for cleaner code generation.
Add boxed slice, CVec, and add more serde support.
Compatible with official abi_stable:
-
Users should now use
cglue::trait_group::c_void
as thec_void
type. -
Technically breaks semver, but it is not possible to do anything with
c_void
anyways.
Changes in 0.2.3:
Make formatting traits FFI-safe:
-
All standard fmt traits are exposed.
-
Only Debug and Display are in the prefix.
-
Not full formatting functionality is preserved across FFI boundary.