Skip to content

Commit 96e60d9

Browse files
committed
feat: gix without connection support includes less code
1 parent 1a0778e commit 96e60d9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

gix/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ worktree-archive = ["gix-archive", "worktree-stream"]
8888
#! Making a choice here also affects which crypto-library ends up being used.
8989

9090
## Make `gix-protocol` available along with an async client.
91-
async-network-client = ["gix-protocol/async-client"]
91+
async-network-client = ["gix-protocol/async-client", "gix-pack/streaming-input"]
9292
## Use this if your crate uses `async-std` as runtime, and enable basic runtime integration when connecting to remote servers via the `git://` protocol.
9393
async-network-client-async-std = ["async-std", "async-network-client", "gix-transport/async-std"]
9494
## Make `gix-protocol` available along with a blocking client, providing access to the `file://`, git://` and `ssh://` transports.
95-
blocking-network-client = ["gix-protocol/blocking-client"]
95+
blocking-network-client = ["gix-protocol/blocking-client", "gix-pack/streaming-input"]
9696
## Stacks with `blocking-network-client` to provide support for HTTP/S using **curl**, and implies blocking networking as a whole, making the `https://` transport avaialble.
9797
blocking-http-transport-curl = ["blocking-network-client", "gix-transport/http-client-curl"]
9898
## Stacks with `blocking-network-client` to provide support for HTTP/S using **reqwest**, and implies blocking networking as a whole, making the `https://` transport avaialble.
@@ -186,7 +186,7 @@ gix-odb = { version = "^0.51.0", path = "../gix-odb" }
186186
gix-hash = { version = "^0.12.0", path = "../gix-hash" }
187187
gix-object = { version = "^0.35.0", path = "../gix-object" }
188188
gix-actor = { version = "^0.25.0", path = "../gix-actor" }
189-
gix-pack = { version = "^0.41.0", path = "../gix-pack", features = ["object-cache-dynamic"] }
189+
gix-pack = { version = "^0.41.0", path = "../gix-pack", default-features = false, features = ["object-cache-dynamic"] }
190190
gix-revision = { version = "^0.20.0", path = "../gix-revision" }
191191
gix-negotiate = { version = "^0.6.0", path = "../gix-negotiate" }
192192

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ check:
4343
if cargo check -p gix-transport --all-features 2>/dev/null; then false; else true; fi
4444
if cargo check -p gix-protocol --all-features 2>/dev/null; then false; else true; fi
4545
if cargo tree -p gix --no-default-features -i imara-diff 2>/dev/null; then false; else true; fi
46+
if cargo tree -p gix --no-default-features -i gix-protocol 2>/dev/null; then false; else true; fi
4647
cargo check --no-default-features --features lean
4748
cargo check --no-default-features --features lean-async
4849
cargo check --no-default-features --features max

0 commit comments

Comments
 (0)