Unverified Commit b417ab15 authored by Sizhe Zhao's avatar Sizhe Zhao
Browse files

gitoxide: fix cargo dependencies

parent 0daef72f
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
@@ -30,6 +30,10 @@ rustPlatform.buildRustPackage rec {
  useFetchCargoVendor = true;
  cargoHash = "sha256-q35MQGN/tvsK7gg0a/ljoVY6wedy7rwKlSakONgBIgk=";

  patches = [
    ./fix-cargo-dependencies.patch
  ];

  nativeBuildInputs = [
    cmake
    pkg-config