Closed nickelc closed 3 years ago
Enables the doc_cfg feature if building documentation on docs.rs.
doc_cfg
I'd prefer to do this on nightly always instead of just on docs.rs. Can you see a cfg in build.rs that's set if the compiler supports feature flags? Something like this:
docs.rs
cfg
build.rs
https://github.com/SergioBenitez/Figment/blob/9855ee64262cc159401028863809eb2a66119245/build.rs#L1-L5
Enables the
doc_cfg
feature if building documentation on docs.rs.