Features of the user's own package already worked: declare them in
[features] and pass --features, --all-features or --no-default-features
in the Cargo arguments box. Tested off, on, all, none and a misspelling.
A library's features are another matter. Its rlib arrives prebuilt --
built with --all-features, falling back to no features at all when that
does not build -- so a crate is one or the other, and which is neither
visible nor changeable from here. Asking for one anyway (--features
rand/small_rng) gets "the package 'output' does not contain this
feature: rand/small_rng", which is true but points at the wrong thing:
the user asked about rand, not about output.
explainFailure now covers that, keyed on the slash that makes it a
dependency's feature. A misspelling of your own feature has no slash and
is left to cargo, which has already said the useful thing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>