mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
5715e58fce
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 |
||
---|---|---|
.. | ||
blobimport | ||
fastreplay | ||
hgserverconf | ||
lfs_server | ||
loadshedding | ||
observability | ||
pushredirect | ||
repos | ||
tunables | ||
xdb_gc |