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 onlinkmedirectly and re-exportdistributed_slice(this crate already re-exports it for convenience).