Skip to content

Commit 32b6408

Browse files
committed
Bump gix-diff dependency getrandom to 0.3.3
Other changes will need to be made to adapt to this, including in `gix-diff/Cargo.toml` itself. As previously observed in attempts by Dependabot to do this upgrade, and reported in #2092, we get: > cargo check -p gix-diff Updating crates.io index error: failed to select a version for `getrandom`. ... required by package `gix-diff v0.53.0 (C:\Users\ek\source\repos\gitoxide\gix-diff)` ... which satisfies path dependency `gix-diff` (locked to 0.53.0) of package `gix-pack v0.60.0 (C:\Users\ek\source\repos\gitoxide\gix-pack)` ... which satisfies path dependency `gix-pack` (locked to 0.60.0) of package `gix-odb v0.70.0 (C:\Users\ek\source\repos\gitoxide\gix-odb)` ... which satisfies path dependency `gix-odb` (locked to 0.70.0) of package `gix-object v0.50.0 (C:\Users\ek\source\repos\gitoxide\gix-object)` ... which satisfies path dependency `gix-object` (locked to 0.50.0) of package `gix-ref v0.53.0 (C:\Users\ek\source\repos\gitoxide\gix-ref)` ... which satisfies path dependency `gix-ref` (locked to 0.53.0) of package `gix-discover v0.41.0 (C:\Users\ek\source\repos\gitoxide\gix-discover)` ... which satisfies path dependency `gix-discover` (locked to 0.41.0) of package `gix-testtools v0.17.0 (C:\Users\ek\source\repos\gitoxide\tests\tools)` ... which satisfies path dependency `gix-testtools` (locked to 0.17.0) of package `gix-path v0.10.19 (C:\Users\ek\source\repos\gitoxide\gix-path)` ... which satisfies path dependency `gix-path` (locked to 0.10.19) of package `gix-fs v0.16.0 (C:\Users\ek\source\repos\gitoxide\gix-fs)` ... which satisfies path dependency `gix-fs` (locked to 0.16.0) of package `gix-tempfile v18.0.0 (C:\Users\ek\source\repos\gitoxide\gix-tempfile)` ... which satisfies path dependency `gix-tempfile` (locked to 18.0.0) of package `gix-lock v18.0.0 (C:\Users\ek\source\repos\gitoxide\gix-lock)` versions that meet the requirements `^0.3.3` are: 0.3.3 package `gix-diff` depends on `getrandom` with feature `js` but `getrandom` does not have that feature. package `getrandom` does have feature `std` failed to select a version for `getrandom` which could resolve this conflict
1 parent d229adb commit 32b6408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-diff/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ gix-traverse = { version = "^0.47.0", path = "../gix-traverse", optional = true
4444
thiserror = "2.0.0"
4545
imara-diff = { version = "0.1.8", optional = true }
4646
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
47-
getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] }
47+
getrandom = { version = "0.3.3", optional = true, default-features = false, features = ["js"] }
4848
bstr = { version = "1.12.0", default-features = false }
4949

5050
document-features = { version = "0.2.0", optional = true }

0 commit comments

Comments
 (0)