ccgen 0.2.0

generate manually maintained C (and C++) headers
Documentation
  • Coverage
  • 100%
    37 out of 37 items documented0 out of 31 items with examples
  • Size
  • Source code size: 22.85 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.72 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • gqve0

ccgen

Generate manually maintained C (and C++) headers

ccgen is a simple rust library designed for solving the issues of keeping headers of a complex library consistent.

For example the C standard specifies that certain types must be defined in several headers

  • size_t is in stddef.h, string.h, and wchar.h
  • wchar_t is in stddef.h and wchar.h
  • (for other examples see ISO 9899:2024)

ccgen allows updates to one type to apply to each header

ccgen is designed for manually maintained headers for comples libraries