At my job we use https://buck2.build/ as our build system, including for Rust crates. Unfortunately some dependencies seem to use this crate to document features in a manner which cannot be disabled, which makes ingesting the crates difficult.
While I plan on making a PR to these crates, this method doesn't scale well and it would be nice if there were an env var check or something similar to gracefully make the macro a no-op in such scenarios.