yog-abi 0.5.0

Yog stable C ABI — the shared contract between mods and the runtime.
Documentation
  • Coverage
  • 30.59%
    108 out of 353 items documented0 out of 39 items with examples
  • Size
  • Source code size: 47.36 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • F000NKKK

Yog stable C ABI — the ONLY types that cross the mod/runtime boundary.

Rules this file must never break:

  • Every type is #[repr(C)].
  • No Rust trait objects, no generics, no std types in public structs.
  • New fields are appended only at the END of structs; increment ABI_MINOR.
  • ABI_MAJOR bumps only when an existing field is removed or reordered.

Mods and the runtime are compiled independently. They are compatible when ABI_MAJOR matches and mod_ABI_MINOR <= runtime_ABI_MINOR.