blob: 1b1f6c8f219884eefe4c82e512ce5e46827ed07f [file] [log] [blame]
# 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.65"
name = "gix-protocol"
version = "0.44.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
"src/**/*",
"LICENSE-*",
"!**/tests/**/*",
]
description = "A crate of the gitoxide project for implementing git protocols"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"
[package.metadata.docs.rs]
features = [
"blocking-client",
"document-features",
"serde",
]
[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 = "2.1.0"
features = ["std"]
optional = true
default-features = false
[dependencies.gix-credentials]
version = "^0.24.0"
[dependencies.gix-date]
version = "^0.8.3"
[dependencies.gix-features]
version = "^0.38.0"
features = ["progress"]
[dependencies.gix-hash]
version = "^0.14.1"
[dependencies.gix-transport]
version = "^0.41.0"
[dependencies.maybe-async]
version = "0.2.6"
[dependencies.serde]
version = "1.0.114"
features = ["derive"]
optional = true
default-features = false
[dependencies.thiserror]
version = "1.0.32"
[dependencies.winnow]
version = "0.5.24"
features = ["simd"]
[dev-dependencies.async-std]
version = "1.9.0"
features = ["attributes"]
[dev-dependencies.gix-packetline]
version = "^0.17.3"
[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",
]