# Optional features are part of the crate — the project should say so

**URL:** <https://internals.rust-lang.org/t/optional-features-are-part-of-the-crate-the-project-should-say-so/24069>\
**Category:** cargo\
**Created:** [March 11, 2026, 12:55pm UTC](https://internals.rust-lang.org/t/optional-features-are-part-of-the-crate-the-project-should-say-so/24069 "2026-03-11T12:55:21Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![tomveens](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/tomveens/32/14173_2.png) [@tomveens](https://internals.rust-lang.org/u/tomveens)\
**Post date:** [March 13, 2026, 10:33am UTC](https://internals.rust-lang.org/t/optional-features-are-part-of-the-crate-the-project-should-say-so/24069/21 "2026-03-13T10:33:28Z")

</div>

As you can see, build and testing is another ballpark than analysis. They are out of scope in this proposal. The solution should only affect rust-analyzer. It's about a maintainer's wish to suggest to tooling how to treat its crate.

In this case, it's only rust-analyzer. Cargo does not have to change.

---

<div class="post-metadata">

**Author:** ![steffahn](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/steffahn/32/13288_2.png) [@steffahn](https://internals.rust-lang.org/u/steffahn)\
**Post date:** [March 14, 2026, 10:50pm UTC](https://internals.rust-lang.org/t/optional-features-are-part-of-the-crate-the-project-should-say-so/24069/22 "2026-03-14T22:50:43Z")

</div>

Split this topic on March 14, 2026, 10:50pm UTC

4 posts were split to a new topic: [Cargo project config unification](https://internals.rust-lang.org/t/cargo-project-config-unification/24082)

[Previous page](https://internals.rust-lang.org/t/optional-features-are-part-of-the-crate-the-project-should-say-so/24069.md?page=1)
