# 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 = "git-protocol" version = "0.26.4" authors = ["Sebastian Thiel "] include = [ "src/**/*", "CHANGELOG.md", "!**/tests/**/*", ] description = "Please use `gix-` instead ('git' -> 'gix')" license = "MIT/Apache-2.0" repository = "https://github.com/Byron/gitoxide" [package.metadata.docs.rs] features = [ "blocking-client", "document-features", "serde1", ] 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.0.1" 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.git-credentials] version = "^0.9.2" [dependencies.git-features] version = "^0.26.5" features = ["progress"] [dependencies.git-hash] version = "^0.10.3" [dependencies.git-transport] version = "^0.25.5" [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.git-packetline] version = "^0.14.3" [features] async-client = [ "git-transport/async-client", "async-trait", "futures-io", "futures-lite", ] blocking-client = [ "git-transport/blocking-client", "maybe-async/is_sync", ] serde1 = [ "serde", "bstr/serde", "git-transport/serde1", "git-hash/serde1", ]