There are two proposed changes in this pull request:
Make the docs generated on docs.rs use --generate-link-to-definitions, so the source is a little more convenient to brows on docs.rs. (See example here)
Enable all features when generating docs on docs.rs and instead use feature labels in order to mark what features are required for individual items.
There are two proposed changes in this pull request:
--generate-link-to-definitions
, so the source is a little more convenient to brows on docs.rs. (See example here)To generate docs with feature labels locally use:
(
cargo doc
still works as usual).