apidoc-rust 0.1.0

Rust annotation-driven API documentation framework (apidoc-php port): zero-cost doc collection, web UI, export & mock
Documentation

apidoc runtime core: data model, distributed-slice fragment registry and endpoint aggregation. Attribute macros are re-exported from apidoc-macros.

Two things to know when consuming this crate:

  • Registration happens via linkme::distributed_slice, so crates that only register documentation (no other use of this crate) must be linked, not merely built; call any exported item from the crate root to force it.
  • The macros expand to paths like apidoc::DocFragment, so consumers must depend on linkme directly and re-export distributed_slice (this crate already re-exports it for convenience).