IssueRaiser

Ability to disable individual default features

*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/cargo/issues/3126)* The current documentation here: http://doc.crates.io/manifest.html states: > With the exception of the default feature, all features are opt-in. To opt out of the default feature, use default-features = false and cherry-pick individual features. This is quite rigid, since it means you can't make a small adjustment to defaults - where a program may have multiple options which aren't related. It also means if I use a 3rd party package with modified defaults, after an update I need to check if defaults where added which I might want to enable. --- Note, I asked this question on stackoverflow, it was suggested to open an issue here: http://stackoverflow.com/questions/39734321

Posted by ideasman42 on Sep 27, 2016, 9:18 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

github (Sysadmin)

Ability to disable individual default features

ideasman42Sep 27, 2016, 9:18 PM

*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/cargo/issues/3126)* The current documentation here: http://doc.crates.io/manifest.html states: > With the exception of the default feature, all features are opt-in. To opt out of the default feature, use default-features = false and cherry-pick individual features. This is quite rigid, since it means you can't make a small adjustment to defaults - where a program may have multiple options which aren't related. It also means if I use a 3rd party package with modified defaults, after an update I need to check if defaults where added which I might want to enable. --- Note, I asked this question on stackoverflow, it was suggested to open an issue here: http://stackoverflow.com/questions/39734321

Comments (0)

No comments yet. Start the discussion.

Comment on this issue