summaryrefslogtreecommitdiffstats
path: root/vendor/gix-packetline/Cargo.toml
blob: eaf533bf94b3db4887e1e4d02a3208e10381d0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# 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",
]