Sebastian ThielRelease gix-protocol v0.33.19c99ed33 years agoHistory
69 lines · 2.6 KB · TOML
RawDownload
[package]name = "gix-protocol"version = "0.33.1"repository = "https://github.com/Byron/gitoxide"license = "MIT/Apache-2.0"description = "A WIP crate of the gitoxide project for implementing git protocols"authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]edition = "2021"include = ["src/**/*", "LICENSE-*", "CHANGELOG.md", "!**/tests/**/*"]rust-version = "1.64" [lib]doctest = false [features] #! ### _Mutually exclusive client _#! The _client_ portion of the protocol uses `gix-transport` to communicate to a server. For it to be available, one of the following features must#! be selected.#!#! Specifying both causes a compile error, preventing the use of `--all-features`. ## If set, blocking command implementations are available and will use the blocking version of the `gix-transport` crate.blocking-client = ["gix-transport/blocking-client", "maybe-async/is_sync"]## As above, but provides async implementations instead.async-client = ["gix-transport/async-client", "async-trait", "futures-io", "futures-lite"] #! ### Other## Data structures implement `serde::Serialize` and `serde::Deserialize`.serde = ["dep:serde", "bstr/serde", "gix-transport/serde", "gix-hash/serde"] [[test]]name = "blocking-client-protocol"path = "tests/blocking-protocol.rs"required-features = ["blocking-client"] [[test]]name = "async-client-protocol"path = "tests/async-protocol.rs"required-features = ["async-client"] [dependencies]gix-features = { version = "^0.30.0", path = "../gix-features", features = ["progress"] }gix-transport = { version = "^0.32.0", path = "../gix-transport" }gix-hash = { version = "^0.11.2", path = "../gix-hash" }gix-credentials = { version = "^0.15.0", path = "../gix-credentials" } thiserror = "1.0.32"serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]}bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] }nom = { version = "7", default-features = false, features = ["std"]}btoi = "0.4.2" # for async-clientasync-trait = { version = "0.1.51", optional = true }futures-io = { version = "0.3.16", optional = true }futures-lite = { version  = "1.12.0", optional = true }maybe-async = "0.2.6" document-features = { version = "0.2.0", optional = true } [dev-dependencies]async-std = { version = "1.9.0", features = ["attributes"] }gix-packetline = { path = "../gix-packetline" ,version = "^0.16.2" }gix-testtools = { path = "../tests/tools" } [package.metadata.docs.rs]features = ["blocking-client", "document-features", "serde"]rustdoc-args = ["--cfg", "docsrs"]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t