-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentation
Description
So I think this might be a documentation bug rather than anything else. On the page: http://doc.crates.io/manifest.html#the-patch-section
Each key after [patch] is a URL of the source that's being patched, or crates-io if you're modifying the https://crates.io registry. In the example above crates-io could be replaced with a git URL such as https://github.com/rust-lang-nursery/log.
So after reading this, there are two thing you might try. If you're not that familiar with toml, then you might try the following:
[patch.https://github.com/rust-lang-nursery/log]
...
This is not valid toml. Another thing you might try is
[patch]
"https://github.com/rust-lang-nursery/log" = { log = { path = "/path/to/log/" } }
But this is ignored ("warning: unused manifest key: patch")
Ideally there would be a working example in the docs.
TheDan64, toothbrush7777777, jordanrh1 and Wenzel
Metadata
Metadata
Assignees
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentation