Skip to content

Allow docoments in toml to document crate features #2775

New issue

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

Closed
TimTheBig opened this issue Mar 18, 2025 · 1 comment
Closed

Allow docoments in toml to document crate features #2775

TimTheBig opened this issue Mar 18, 2025 · 1 comment

Comments

@TimTheBig
Copy link

For a while documenting crate features has been quite the inconvenience, so a syntax along the lines of #!, in cargo.toml would be useful. To provide a more structured way to document features then putting the docs in your top-level docs.

@TimTheBig TimTheBig changed the title Allow doccoments in toml to document crate features Allow docoments in toml to document crate features Mar 18, 2025
@syphar
Copy link
Member

syphar commented Mar 19, 2025

Generally should be implemented in rustdoc itself, not in docs.rs.

There is already :

for this feature, but no implementation yet.

@syphar syphar closed this as completed Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants