We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Cargo.toml and lib.rs is already set up for this, we just need to mark individual elements with a doc(cfg()):
Cargo.toml
lib.rs
Example:
#[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))]
And replace on whatever feature name. This can (I think) go on modules, types, free functions, etc.
Maybe we just need to mark modules and the rest of obvious enough? I guess we don't want to get too spammy with it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
Cargo.toml
andlib.rs
is already set up for this, we just need to mark individual elements with a doc(cfg()):Example:
#[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))]
And replace on whatever feature name. This can (I think) go on modules, types, free functions, etc.
Maybe we just need to mark modules and the rest of obvious enough? I guess we don't want to get too spammy with it.
The text was updated successfully, but these errors were encountered: