-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable all-features when docs.rs builds the crate.
Without all-features, none of the formats end up being documented. Additionally: - Use the cfg option doc rather than feature docs, which I don't believe exists. - Disable `doc(cfg(...))` on the `formats` module, because rustdoc appears to have a bug that causes all the items within the module to inherit this doc attribute rather than using the doc attributes on their immediate definitions. Tested with `RUSTDOCFLAGS="--cfg docsrs" cargo doc --all-features --open`
- Loading branch information
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
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 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