forked from Deuxfleurs/garage
Jakub Jirutka
d2deee0b8b
This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
32 lines
732 B
TOML
32 lines
732 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"src/db",
|
|
"src/util",
|
|
"src/rpc",
|
|
"src/table",
|
|
"src/block",
|
|
"src/model",
|
|
"src/api",
|
|
"src/web",
|
|
"src/garage",
|
|
"src/k2v-client",
|
|
]
|
|
|
|
default-members = ["src/garage"]
|
|
|
|
[workspace.dependencies]
|
|
garage_api = { version = "0.8.2", path = "src/api" }
|
|
garage_block = { version = "0.8.2", path = "src/block" }
|
|
garage_db = { version = "0.8.2", path = "src/db" }
|
|
garage_model = { version = "0.8.2", path = "src/model" }
|
|
garage_rpc = { version = "0.8.2", path = "src/rpc" }
|
|
garage_table = { version = "0.8.2", path = "src/table" }
|
|
garage_util = { version = "0.8.2", path = "src/util" }
|
|
garage_web = { version = "0.8.2", path = "src/web" }
|
|
|
|
[profile.dev]
|
|
lto = "off"
|
|
|
|
[profile.release]
|
|
debug = true
|