# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.64" name = "gix-protocol" version = "0.33.2" authors = ["Sebastian Thiel "] include = [ "src/**/*", "LICENSE-*", "CHANGELOG.md", "!**/tests/**/*", ] description = "A WIP crate of the gitoxide project for implementing git protocols" license = "MIT/Apache-2.0" repository = "https://github.com/Byron/gitoxide" [package.metadata.docs.rs] features = [ "blocking-client", "document-features", "serde", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] doctest = false [[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.async-trait] version = "0.1.51" optional = true [dependencies.bstr] version = "1.3.0" features = [ "std", "unicode", ] default-features = false [dependencies.btoi] version = "0.4.2" [dependencies.document-features] version = "0.2.0" optional = true [dependencies.futures-io] version = "0.3.16" optional = true [dependencies.futures-lite] version = "1.12.0" optional = true [dependencies.gix-credentials] version = "^0.15.0" [dependencies.gix-features] version = "^0.30.0" features = ["progress"] [dependencies.gix-hash] version = "^0.11.2" [dependencies.gix-transport] version = "^0.32.0" [dependencies.maybe-async] version = "0.2.6" [dependencies.nom] version = "7" features = ["std"] default-features = false [dependencies.serde] version = "1.0.114" features = ["derive"] optional = true default-features = false [dependencies.thiserror] version = "1.0.32" [dev-dependencies.async-std] version = "1.9.0" features = ["attributes"] [dev-dependencies.gix-packetline] version = "^0.16.2" [features] async-client = [ "gix-transport/async-client", "async-trait", "futures-io", "futures-lite", ] blocking-client = [ "gix-transport/blocking-client", "maybe-async/is_sync", ] serde = [ "dep:serde", "bstr/serde", "gix-transport/serde", "gix-hash/serde", ]