document-features
document-features copied to clipboard
Extract documentation for the feature flags from comments in Cargo.toml
I am trying to add a nested list in my feature docs (for feature subsets) example: * ... * **`builtin_font`** *(enabled by default)* — Enable the built-in font (ProggyTiny, adds...
With ```toml [features] default=["qqq"] ## Qqq qqq=["www"] ## Www www=[] ``` I expect * qqq _(enabled by default)_ — Qqq * www _(enabled by default)_ — Www , but get...
Because `#![doc = document_features::document_features!()]` is quite long and unnecessary repeats itself. I think it'll be better to have something like `document_features::get!()`, `extract`, etc.
It would make it easier for people using the `README.md` as a source of truth approach (`#![doc = include_str!("../README.md")]`) to use this nice tool's output as part of an out...
At my job we use https://buck2.build/ as our build system, including for Rust crates. Unfortunately some dependencies seem to use this crate to document features in a manner which cannot...
The unstable feature `-Zrustdoc-info` in Cargo is now calling for testing. As it is more precise in rebuild detection when any file path referenced is outside the package root, I...