-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
639: Change documentation of feature flags r=jonasbb a=jonasbb Document the feature flags in the Cargo.toml file instead of a separate file. Keep the old file, but generate the content from the Cargo.toml using the `document-features` crate. The benefit of this approach is that the documentation is stored next to the features. lib.rs has a new feature that reads the documentation from there and shows it as part of the feature list. bors r+ Co-authored-by: Jonas Bushart <[email protected]>
- Loading branch information
Showing
5 changed files
with
91 additions
and
130 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
//! # Available Feature Flags | ||
//! | ||
#![doc = document_features::document_features!()] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters