I tried something like this code:
clap_builder:
#[cfg(feature = "env")]
pub fn env() {}
clap:
pub use clap_builder::env;
I expected to see this happen: a cfg badge appears in both clap and clap_builders docs for this function
Instead, this happened: the cfg badge only appears on clap_builder
Meta
docs.rs build on 2025-03-27 (4.5.34) worked for clap and clap_builder
docs.rs build on 2025-04-01 (4.5.35) didn't work for clap while clap_builder did
clap diff
clap_builder diff
Backtrace
I tried something like this code:
clap_builder:clap:I expected to see this happen: a
cfgbadge appears in bothclapandclap_builders docs for this functionInstead, this happened: the
cfgbadge only appears onclap_builderMeta
docs.rs build on 2025-03-27 (4.5.34) worked for clap and clap_builder
docs.rs build on 2025-04-01 (4.5.35) didn't work for clap while clap_builder did
clap diff
clap_builder diff
Backtrace