Hacker News new | ask | show | jobs
by pjmlp 1576 days ago
Really?

https://doc.rust-lang.org/cargo/reference/features-examples....

1 comments

Oh, those features, you are talking about stuff that is included/excluded in libraries. Those have nothing to do with compiler extensions, they don't change the language.
Indeed, perhaps it was bad to name this (er) feature of Cargo with the word "features", since it invites conflation with the unstable #[feature] attribute of nightly Rust, but it has nothing to do with the language.