Browse Source

[git-packetline] document feature toggle

pull/86/head
Sebastian Thiel 1 month ago
parent
commit
8b8a1aafb0
No known key found for this signature in database GPG Key ID: 9CB5EE7895E8268B
  1. 7
      cargo-features.md
  2. 2
      git-transport/Cargo.toml

7
cargo-features.md

@ -93,6 +93,13 @@ All feature toggles are additive.
### git-transport
By default, all IO related capabilities will use async IO traits from `futures-io`.
* **blocking-io**
If set, all IO will become blocking. The same types will be used preventing side-by-side usage of blocking and non-blocking IO
### git-transport
The _client_ portion of the transport layer is _async_ by default, i.e. if no feature toggles are set.
* **blocking-client**

2
git-transport/Cargo.toml

@ -15,7 +15,7 @@ doctest = false
default = []
serde1 = ["serde"]
http-client-curl = ["curl", "base64", "git-features/io-pipe", "blocking-client"]
blocking-client = ["maybe-async/is_sync"]
blocking-client = ["maybe-async/is_sync", "git-packetline/blocking-io"]
[[test]]
name = "blocking-transport"

Loading…
Cancel
Save