Optional features are part of the crate — the project should say so
Rust Internals [Unofficial]
March 12, 2026
I do not like that behavior because I have CI do cargo test --frozen --locked to test exactly what is built. I would be quite unhappy if I would have to "fight" some defaults that differ from build behaviors.
Discussion in the ATmosphere