mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #6006 - EPashkin:master, r=alexcrichton
Fix example for usage still not published uuid 2.0.0 IMHO There some inconsistency in https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#prepublishing-a-breaking-change We have unpublished version 2.0.0 for uuid crate in branch with same name. Now we can test it in `my-library` without waiting for publish as written in docs. But if `my-library` changes committed to its master, for `my-binary` patch need be same as in library, as uuid 2.0.0 still not published.
This commit is contained in:
commit
b0679d55af
@ -376,7 +376,7 @@ my-library = { git = 'https://example.com/git/my-library' }
|
||||
uuid = "1.0"
|
||||
|
||||
[patch.crates-io]
|
||||
uuid = { git = 'https://github.com/rust-lang-nursery/uuid', version = '2.0.0' }
|
||||
uuid = { git = 'https://github.com/rust-lang-nursery/uuid', branch = '2.0.0' }
|
||||
```
|
||||
|
||||
Note that this will actually resolve to two versions of the `uuid` crate. The
|
||||
|
Loading…
x
Reference in New Issue
Block a user