mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 22:21:40 +03:00
cargo: add a workspace
Summary: Make `lib` a cargo workspace so building in subprojects would share a `target` directory and `cargo doc` will build documentation for all subprojects. Reviewed By: DurhamG Differential Revision: D8741175 fbshipit-source-id: 512325bcb23d51e866e764bdc76dddb22c59ef05
This commit is contained in:
parent
a745c5a8ae
commit
d0c1b6d014
23
lib/Cargo.toml
Normal file
23
lib/Cargo.toml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[workspace]
|
||||||
|
members = [
|
||||||
|
"argparse",
|
||||||
|
"cbincode",
|
||||||
|
"commitcloudsubscriber",
|
||||||
|
"hg_watchman_client",
|
||||||
|
"indexedlog",
|
||||||
|
"lz4-pyframe",
|
||||||
|
"minibench",
|
||||||
|
"mpatch-sys",
|
||||||
|
"mpatch",
|
||||||
|
"pathencoding",
|
||||||
|
"pathmatcher",
|
||||||
|
"radixbuf",
|
||||||
|
"revisionstore",
|
||||||
|
"treestate",
|
||||||
|
"vlqencoding",
|
||||||
|
"watchman_client",
|
||||||
|
"zstdelta",
|
||||||
|
]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
@ -3,9 +3,6 @@ name = "lz4-pyframe"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
failure = "0"
|
failure = "0"
|
||||||
|
@ -3,9 +3,6 @@ name = "revisionstore"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = "*"
|
byteorder = "*"
|
||||||
failure = "*"
|
failure = "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user