rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

RFC: Cargo feature deprecation

Open tgross35 opened this issue 2 years ago • 1 comments

Rendered

RFC for feature-deprecation RFC goals: add a way to deprecate Cargo features

This was split from https://github.com/rust-lang/rfcs/pull/3416

[features]
foo = { enables = [], deprecated = true }
foo = { enables = [], deprecated = "this works as a note" }
bar = { enables = [], deprecated = { since = "1.2.3", note = "don't use this!" } }

This would resolve https://github.com/rust-lang/cargo/issues/7130

tgross35 avatar Sep 09 '23 23:09 tgross35