-
Notifications
You must be signed in to change notification settings - Fork 62
/
Cargo.toml
175 lines (146 loc) · 3.59 KB
/
Cargo.toml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[package]
name = "git-cinnabar"
version = "0.7.0-b"
description = "git remote helper to interact with mercurial repositories"
authors = ["Mike Hommey <[email protected]>"]
edition = "2021"
license = "MPL-2.0 AND GPL-2.0"
repository = "https://github.com/glandium/git-cinnabar"
rust-version = "1.75.0"
include = [
"/src",
"/MPL-2.0",
"/build.rs",
"/.cargo",
"/git-core/COPYING",
"/git-core/LGPL-2.1",
"/git-core/Makefile",
"/git-core/detect-compiler",
"/git-core/GIT-VERSION-GEN",
"/git-core/*.mak*",
"/git-core/**/*.c",
"/git-core/**/*.h",
"!/git-core/t/**",
]
[dependencies]
array-init = "2.0.1"
backtrace = "0.3"
bit-vec = "0.8"
bitflags = "2"
bzip2 = "0.4"
byteorder = "1"
cfg-if = "1"
cstr = "0.2.10"
digest = "0.10"
either = "1"
getset = "0.1"
hex = "0.4"
hex-literal = "0.4"
indexmap = "2"
itertools = "0.13"
libc = "0.2"
once_cell = "1.13"
percent-encoding = "2"
rand = "0.8"
semver = "1.0"
sha1 = "0.10"
tee = "0.1"
tempfile = "3"
typenum = "1"
url = "2"
[dependencies.bstr]
version = "1"
default-features = false
features = ["std"]
[dependencies.clap]
version = "4.2"
features = ["cargo", "derive"]
[dependencies.concat_const]
version = "0.1"
optional = true
[target.'cfg(windows)'.dependencies.curl-sys]
version = "0.4"
default-features = false
features = ["ssl", "static-curl"]
[target.'cfg(not(windows))'.dependencies.curl-sys]
version = "0.4"
default-features = false
[dependencies.derive_more]
version = "1"
default-features = false
features = ["deref", "display", "debug", "from", "try_into"]
[dependencies.flate2]
version = "1"
default-features = false
features = ["zlib"]
[dependencies.git-version]
version = "0.3"
optional = true
[target.'cfg(windows)'.dependencies.libz-sys]
version = "1"
features = ["static"]
[target.'cfg(not(windows))'.dependencies.libz-sys]
version = "1"
[dependencies.log]
version = "0.4"
features = ["std"]
[dependencies.lru]
version = "0.12"
default-features = false
[dependencies.regex]
version = "1"
default-features = false
features = ["std"]
[dependencies.shared_child]
version = "1.0"
optional = true
[target.'cfg(not(windows))'.dependencies.tar]
version = "0.4"
optional = true
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59"
features = ["Win32_Foundation"]
[target.'cfg(not(windows))'.dependencies.xz2]
version = "0.1"
optional = true
[target.'cfg(windows)'.dependencies.zip]
version = "2"
default-features = false
features = ["deflate-zlib"]
optional = true
[dependencies.zstd]
version = "0.13"
default-features = false
[build-dependencies]
cc = "1.0.46"
itertools = "0.13"
make-cmd = "0.1"
target = "2.0"
syn = { version = "2", features = ["full"] } # git-version fails to parse inner macros without this.
[build-dependencies.rustflags]
version = "0.1"
optional = true
[dev-dependencies]
tempfile = "3"
[profile.release]
codegen-units = 1
panic = "abort"
[profile.dev]
panic = "abort"
[features]
default = ["full-version", "version-check"]
full-version = ["dep:concat_const", "dep:git-version"]
# libcurl.so compatibility (Linux only).
curl-compat = ["rustflags"]
# Check and report when a new version is available.
version-check = ["shared_child"]
# Download and apply new versions.
self-update = ["shared_child", "dep:concat_const", "dep:tar", "dep:xz2", "dep:zip", "windows-sys/Win32_System_Threading"]
# Development features
# Create compile_commands.json for IDE integration.
compile_commands = []
# Enable libgit development options.
gitdev = []