gitoxide: fix cargo dependencies
This commit is contained in:
@@ -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"
|
||||
]
|
||||
@@ -30,6 +30,10 @@ rustPlatform.buildRustPackage rec {
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-q35MQGN/tvsK7gg0a/ljoVY6wedy7rwKlSakONgBIgk=";
|
||||
|
||||
patches = [
|
||||
./fix-cargo-dependencies.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user