Don't include example off docs.rs #156

Merged
CAD97 merged 1 commit from patch-1 into master 2018-04-25 21:29:03 -05:00
CAD97 commented 2018-04-25 20:43:02 -05:00 (Migrated from github.com)

This uses docs.rs metadata to specify the inclusion of the example, meaning that it doesn't have to be included by default.

Technically a [breaking-change], though... (though the module is specified as not public API)

This uses [docs.rs metadata](https://github.com/onur/docs.rs/pull/73) to specify the inclusion of the example, meaning that it doesn't have to be included by default. Technically a [breaking-change], though... (though the module is specified as not public API)
dtolnay (Migrated from github.com) approved these changes 2018-04-25 21:28:59 -05:00
dtolnay (Migrated from github.com) left a comment

Nice, thank you. As you said, example_generated is not a public API so not a breaking change.

Nice, thank you. As you said, example_generated is not a public API so not a breaking change.
dtolnay commented 2018-04-25 21:38:13 -05:00 (Migrated from github.com)

Published in 1.0.2. This drops compile time of the bitflags crate by itself from 0.41 seconds to 0.29 seconds on my machine, a 30% improvement. 😀

Published in 1.0.2. This drops compile time of the bitflags crate by itself from 0.41 seconds to 0.29 seconds on my machine, a 30% improvement. :grinning:
Sign in to join this conversation.
No reviewers
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-bitflags/bitflags!156
No description provided.