This monorepo contains a number of Rust crates that were created to support the cap-os operating system effort. The crates themselves are potentially useful to other projects, so we have gathered them in a separate repository where they can be published to crates.io.
The macros/ subdirectory contains macros used in compiling the tree:
- bitstruct! is a procedure macro that supports enhanced structure definitions that can specify with bitwise subfields. Our experience in cap-os and other projects has been that bitfields are often components of a larger type, and that defining them in isolation sometimes deprives them of context and weakens documentation.
The cargo/ subdirectory contains cargo plugins that have been helpful to us:
- cargo-mk is a simple monoworkspace build orchestrator that supports multi-architecture builds and full-tree builds.
I receive an overwhelming amount of spam. Please feel free to open issues and discussions on Github, and I will respond as I am able.