sapling/eden/mononoke/common
Daniel Xu 5715e58fce Add version specificiation to internal dependencies
Summary:
Lots of generated code in this diff. Only code change was in
`common/rust/cargo_from_buck/lib/cargo_generator.py`.

Path/git-only dependencies (ie `mydep = { path = "../foo/bar" }`) are not
publishable to crates.io. However, we are allowed to specify both a path/git
_and_ a version. When building locally, the path/git is chosen. When publishing,
the version on crates.io is chosen.

See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations .

Note that I understand that not all autocargo projects are published on crates.io (yet).
The point of this diff is to allow projects to slowly start getting uploaded.
The end goal is autocargo generated `Cargo.toml`s that can be `cargo publish`ed
without further modification.

Reviewed By: lukaspiatkowski

Differential Revision: D26028982

fbshipit-source-id: f7b4c9d4f4dd004727202bd98ab10e201a21e88c
2021-01-25 22:10:24 -08:00
..
allocation_tracing third-party/rust: update Tokio 0.2.x to 0.2.24 & futures 1.x to 1.30 2021-01-25 08:06:55 -08:00
async_limiter Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bounded_traversal Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
dedupmap rust: update rust to 1.47.0 2020-10-15 17:28:02 -07:00
iterhelpers iterhelpers: add chunk_by_accumulation 2021-01-19 07:13:52 -08:00
rust Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
scribe_ext Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
scuba_ext Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
sql_construct Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
topo_sort Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
type_map make it possible to store arbitrary type in blobrepo with dependency on it 2020-06-22 07:29:19 -07:00
uniqueheap mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00