gitoxide: fix cargo dependencies

This commit is contained in:
Sizhe Zhao
2025-04-05 16:45:45 +08:00
parent 0daef72f28
commit b417ab1519
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,24 @@
diff -ur a/gix-packetline/Cargo.toml b/gix-packetline/Cargo.toml
--- a/gix-packetline/Cargo.toml
+++ b/gix-packetline/Cargo.toml
@@ -24,7 +24,7 @@
## If set, all IO will become blocking. The same types will be used preventing side-by-side usage of blocking and non-blocking IO.
blocking-io = []
## Implement IO traits from `futures-io`.
-async-io = ["dep:futures-io", "dep:futures-lite", "dep:pin-project-lite"]
+async-io = ["dep:futures-io", "futures-lite", "dep:pin-project-lite"]
#! ### Other
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
diff -ur a/gix-protocol/Cargo.toml b/gix-protocol/Cargo.toml
--- a/gix-protocol/Cargo.toml
+++ b/gix-protocol/Cargo.toml
@@ -34,7 +34,7 @@
"gix-transport/async-client",
"dep:async-trait",
"dep:futures-io",
- "dep:futures-lite",
+ "futures-lite",
"handshake",
"fetch"
]
+4
View File
@@ -30,6 +30,10 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true;
cargoHash = "sha256-q35MQGN/tvsK7gg0a/ljoVY6wedy7rwKlSakONgBIgk=";
patches = [
./fix-cargo-dependencies.patch
];
nativeBuildInputs = [
cmake
pkg-config