Skip to content

Commit 0f8bf41

Browse files
committed
Potential for --allow-prerelease
1 parent eddc6bc commit 0f8bf41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

text/3493-precise-pre-release-cargo-update.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,8 @@ Since crates ignore the lock files of their dependencies there is no way for `a`
186186
To enable this we could use the same concept of compatible pre-releases in `Cargo.toml`, not just `Cargo.lock`.
187187
This would require that pre-releases are specified with `=` and would allow pre-release versions to be requested anywhere within the dependency tree without causing the resolver to throw an error.
188188

189+
## `--allow-prelease`
190+
191+
Instead of manually selecting a version with `--precise`, we could support `cargo update --package foo --allow-prelease`.
192+
193+
If we made this flag work without `--package`, we could the extend it also to `cargo generate-lockfile`.

0 commit comments

Comments
 (0)