shallguard-macros 0.1.0

Compile-time requirement traceability anchors for ShallGuard
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented2 out of 4 items with examples
  • Size
  • Source code size: 19.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 71.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ShallGuard/shallguard-rs
    2 2 9
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sigi64

shallguard-macros

This is the procedural-macro implementation crate for ShallGuard.

Applications should depend on shallguard, which re-exports the public anchor API:

#[shallguard::enforces("REQ-RD-001")]
fn enforce_contract() {}

#[shallguard::verifies("REQ-RD-001")]
#[test]
fn contract_is_enforced() {}

Do not add a direct dependency on shallguard-macros unless you are developing ShallGuard itself.