The UUID crate always needs V4, so have that feature in the workspace.

Some crates use it from the workspace as if it had that feature,
but the reason they compile is only due to compiling a crate higher
up that sets the feature, which transitively affects the crate in question.

When building `gitbutler-diff` for instance, the build will fail.
This commit is contained in:
Sebastian Thiel 2024-11-02 14:44:39 +01:00
parent 2ba4cb2e77
commit 69979807fe
No known key found for this signature in database
GPG Key ID: 9CB5EE7895E8268B
3 changed files with 16 additions and 16 deletions

View File

@ -48,7 +48,7 @@ git2 = { version = "0.19.0", features = [
"vendored-openssl",
"vendored-libgit2",
] }
uuid = { version = "1.11.0", features = ["serde"] }
uuid = { version = "1.11.0", features = ["v4", "serde"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.66"
tokio = { version = "1.41.0", default-features = false }

View File

@ -37,7 +37,7 @@ tokio = { workspace = true, optional = true, features = [
"net",
"fs",
] }
uuid = { workspace = true, features = ["v4", "fast-rng"] }
uuid = { workspace = true, features = ["fast-rng"] }
rand = "0.8.5"
futures.workspace = true
sysinfo = "0.32.0"

View File

@ -18,4 +18,4 @@ itertools = "0.13"
serde = { workspace = true, features = ["std"] }
bstr.workspace = true
tokio.workspace = true
uuid = { workspace = true, features = ["v4", "fast-rng"] }
uuid = { workspace = true, features = ["fast-rng"] }