-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.Z-build-stdNightly: build-stdNightly: build-std
Description
(Split from of rust-lang/rfcs#1133)
The first task is to agree on a syntax for explicit stdlib deps. That RFC proposed
[depedencies]
std = { version = "*", stdlib = true }
But, if we are confident we can reserve the name on crates.io of everything that's part of the standard library (or isn't part of the standard library but exists in the sysroot), we don't even need a new syntax!
[depedencies]
std = "*" # work's just fine!
The second task is to decide whether version bounds are permitted in full generality, or restricted. Plausible restrictions would be:
- Exactly match the overall crate language version restrictions (however that pans out)
- Must be unrestricted (
*
), with the intent that the language version restriction will effectively restrict it anyways.
elichai, WhyNotHugo and marijanptoothbrush7777777, phil-opp, CodeSandwich, elichai and marijanp
Metadata
Metadata
Assignees
Labels
S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.Z-build-stdNightly: build-stdNightly: build-std