forked from xline-kv/Xline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (28 loc) · 1.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[workspace]
members = [
"benchmark",
"curp",
"curp-external-api",
"curp-test-utils",
"engine",
"simulation",
"test-macros",
"utils",
"workspace-hack",
"xline",
"xline-client",
"xline-test-utils",
"xlineapi",
"xlinectl",
]
resolver = "2"
# TODO: when cargo-machete support ignore workspace member crate, then add it into pre commit hook & CI
# ISSUE: https://github.com/bnjbvr/cargo-machete/issues/94
[workspace.metadata.cargo-machete]
ignored = ["prost", "workspace-hack"]
# TODO: We should remove it when the madsim updates its release in the crate.io
[patch.crates-io]
madsim = { git = "https://github.com/madsim-rs/madsim.git", rev = "5eb4198", package = "madsim" }
tokio = { git = "https://github.com/madsim-rs/madsim.git", rev = "5eb4198", package = "madsim-tokio" }
tonic = { git = "https://github.com/madsim-rs/madsim.git", rev = "5eb4198", package = "madsim-tonic" }
tonic-build = { git = "https://github.com/madsim-rs/madsim.git", rev = "5eb4198", package = "madsim-tonic-build" }