mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-25 09:31:00 +00:00
db72812f01
Garage currently uses the legacy resolver "1". The new one is used by default if the root package specifies 'edition = 2021', which Garage does not (yet). The problem with the legacy resolver is, among others, that features enabled by dev-dependencies are propagated to normal dependencies. This affects e.g. hyper - one of the dev-dependencies enables "http2" feature that adds many extra dependencies. If we build garage without opentelemetry-otlp (this is enabled in the following commit), there's no normal dependency enabling "http2" feature. See https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
22 lines
270 B
TOML
22 lines
270 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"]
|
|
|
|
[profile.dev]
|
|
lto = "off"
|
|
|
|
[profile.release]
|
|
debug = true
|