I just published another version of fmap
, and when wanting to check if docs.rs
generated my documentation correctly, I noticed a bunch of crates being in the queue:
atsam4ls4c-pac-0.3.2
: Peripheral access crate for the ATSAM4LS4C microcontroller (56 seconds ago)atsam4ls8a-pac-0.3.2
: Peripheral access crate for the ATSAM4LS8A microcontroller (4 minutes ago)atsam4lc8b-pac-0.3.2
: Peripheral access crate for the ATSAM4LC8B microcontroller (8 minutes ago)atsam4lc8c-pac-0.3.2
: Peripheral access crate for the ATSAM4LC8C microcontroller (12 minutes ago)atsam4ls2a-pac-0.3.2
: Peripheral access crate for the ATSAM4LS2A microcontroller (18 minutes ago)atsam4ls2b-pac-0.3.2
: Peripheral access crate for the ATSAM4LS2B microcontroller (22 minutes ago)atsam4lc4b-pac-0.3.2
: Peripheral access crate for the ATSAM4LC4B microcontroller (26 minutes ago)atsam4lc4c-pac-0.3.2
: Peripheral access crate for the ATSAM4LC4C microcontroller (30 minutes ago)atsam4lc8a-pac-0.3.2
: Peripheral access crate for the ATSAM4LC8A microcontroller (34 minutes ago)atsam4lc2a-pac-0.3.2
: Peripheral access crate for the ATSAM4LC2A microcontroller (38 minutes ago)atsam4lc2b-pac-0.3.2
: Peripheral access crate for the ATSAM4LC2B microcontroller (42 minutes ago)atsam4lc2c-pac-0.3.2
: Peripheral access crate for the ATSAM4LC2C microcontroller (46 minutes ago)
Did you ever experience the same when waiting for docs.rs
to generate your documentation?
Those atsam…
crates seem to be automatically generated. I wonder: Is this idiomatic? Wouldn't it be better to make a single crate and use feature flags? I'm curious whether there is a reason to create a lot of different crates in an automated fashion.
Maybe when using feature flags, docs.rs
can't create the documentation properly (for all features)?