-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationA-environment-variablesArea: environment variablesArea: environment variablesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
Problem
I tried to use CARGO_MANIFEST_PATH
but it isn't available in older rustc versions.
It would be nice to add a since
indication as is custom in std
.
I am talking specifically about:
https://doc.rust-lang.org/cargo/reference/environment-variables.html
However, adding since
to all new features and retroactively to older features would be nice.
Proposed Solution
Add since
to the cargo environment variables.
Metadata
Metadata
Assignees
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationA-environment-variablesArea: environment variablesArea: environment variablesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.