apidoc-macros 0.1.0

Rust annotation-driven API documentation framework (apidoc-php port): zero-cost doc collection, web UI, export & mock
Documentation
  • Coverage
  • 9.52%
    2 out of 21 items documented0 out of 20 items with examples
  • Size
  • Source code size: 21.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 243.57 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • erikwang2013/apidoc-rust
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • erikwang2013

Attribute macros for apidoc: title / desc / method / url / param / query / returned (M1), tag / group / author / header / route_param / response_status / success / error / not_debug / md / sort / ref (M3), and app (M6b).

Each macro keeps the annotated function unchanged and emits a statically registered DocFragmentEntry on the distributed slice apidoc::DOC_FRAGMENTS, so documentation fragments are collected at zero runtime cost.