Skip to content

Don't pass --features from dev-dependencies to dependencies #4664

@valarauca

Description

@valarauca

Working on a smallish project.

The main reason this came up was nom. Which has a feature flag that gates its new errors linky. If I include a dependency my whole build breaks as a dev-dependency is building nom with verbose errors.

Metadata

Metadata

Assignees

Labels

A-featuresArea: features — conditional compilationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions