blob: eaf533bf94b3db4887e1e4d02a3208e10381d0e9 [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-packetline"
version = "0.16.7"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
"src/**/*",
"LICENSE-*",
"CHANGELOG.md",
]
description = "A crate of the gitoxide project implementing the pkt-line serialization format"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"
[package.metadata.docs.rs]
features = [
"document-features",
"blocking-io",
"serde",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
doctest = false
[[test]]
name = "async-packetline"
path = "tests/async-packetline.rs"
required-features = ["async-io"]
[[test]]
name = "blocking-packetline"
path = "tests/blocking-packetline.rs"
required-features = [
"blocking-io",
"maybe-async/is_sync",
]
[dependencies.bstr]
version = "1.3.0"
features = ["std"]
default-features = false
[dependencies.document-features]
version = "0.2.0"
optional = true
[dependencies.faster-hex]
version = "0.8.0"
[dependencies.futures-io]
version = "0.3.16"
optional = true
[dependencies.futures-lite]
version = "1.12.0"
optional = true
[dependencies.pin-project-lite]
version = "0.2.6"
optional = true
[dependencies.serde]
version = "1.0.114"
features = [
"std",
"derive",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "1.0.34"
[dev-dependencies.async-std]
version = "1.9.0"
features = ["attributes"]
[dev-dependencies.maybe-async]
version = "0.2.6"
[features]
async-io = [
"futures-io",
"futures-lite",
"pin-project-lite",
]
blocking-io = []
default = []
serde = [
"dep:serde",
"bstr/serde",
]