git-cinnabar

Форк
0
/
Cargo.toml 
169 строк · 3.4 Кб
1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4

5
[package]
6
name = "git-cinnabar"
7
version = "0.7.0-b"
8
description = "git remote helper to interact with mercurial repositories"
9
authors = ["Mike Hommey <mh@glandium.org>"]
10
edition = "2021"
11
license = "MPL-2.0 AND GPL-2.0"
12
repository = "https://github.com/glandium/git-cinnabar"
13
rust-version = "1.74.0"
14
include = [
15
  "/src",
16
  "/MPL-2.0",
17
  "/build.rs",
18
  "/.cargo",
19
  "/git-core/COPYING",
20
  "/git-core/LGPL-2.1",
21
  "/git-core/Makefile",
22
  "/git-core/detect-compiler",
23
  "/git-core/GIT-VERSION-GEN",
24
  "/git-core/*.mak*",
25
  "/git-core/**/*.c",
26
  "/git-core/**/*.h",
27
  "!/git-core/t/**",
28
]
29

30
[dependencies]
31
array-init = "2.0.1"
32
backtrace = "0.3"
33
bit-vec = "0.8"
34
bitflags = "2"
35
bzip2 = "0.4"
36
byteorder = "1"
37
cfg-if = "1"
38
concat_const = "0.1"
39
cstr = "0.2.10"
40
derivative = "2"
41
digest = "0.10"
42
either = "1"
43
getset = "0.1"
44
git-version = "0.3"
45
hex = "0.4"
46
hex-literal = "0.4"
47
indexmap = "2"
48
itertools = "0.13"
49
libc = "0.2"
50
once_cell = "1.13"
51
percent-encoding = "2"
52
rand = "0.8"
53
semver = "1.0"
54
sha-1 = "0.10"
55
tee = "0.1"
56
tempfile = "3"
57
typenum = "1"
58
url = "2"
59

60
[dependencies.bstr]
61
version = "1"
62
default-features = false
63
features = ["std"]
64

65
[dependencies.clap]
66
version = "4.2"
67
features = ["cargo", "derive"]
68

69
[target.'cfg(windows)'.dependencies.curl-sys]
70
version = "0.4"
71
default-features = false
72
features = ["ssl", "static-curl"]
73

74
[target.'cfg(not(windows))'.dependencies.curl-sys]
75
version = "0.4"
76
default-features = false
77

78
[dependencies.derive_more]
79
version = "0.99"
80
default-features = false
81
features = ["deref", "from", "try_into"]
82

83
[dependencies.flate2]
84
version = "1"
85
default-features = false
86
features = ["zlib"]
87

88
[target.'cfg(windows)'.dependencies.libz-sys]
89
version = "1"
90
features = ["static"]
91

92
[target.'cfg(not(windows))'.dependencies.libz-sys]
93
version = "1"
94

95
[dependencies.log]
96
version = "0.4"
97
features = ["std"]
98

99
[dependencies.lru]
100
version = "0.12"
101
default-features = false
102

103
[dependencies.regex]
104
version = "1"
105
default-features = false
106
features = ["std"]
107

108
[dependencies.shared_child]
109
version = "1.0"
110
optional = true
111

112
[target.'cfg(not(windows))'.dependencies.tar]
113
version = "0.4"
114
optional = true
115

116
[target.'cfg(windows)'.dependencies.windows-sys]
117
version = "0.52"
118
features = ["Win32_Foundation"]
119

120
[target.'cfg(not(windows))'.dependencies.xz2]
121
version = "0.1"
122
optional = true
123

124
[target.'cfg(windows)'.dependencies.zip]
125
version = "2"
126
default-features = false
127
features = ["deflate-zlib"]
128
optional = true
129

130
[dependencies.zstd]
131
version = "0.13"
132
default-features = false
133

134
[build-dependencies]
135
cc = "1.0.46"
136
itertools = "0.13"
137
make-cmd = "0.1"
138
target = "2.0"
139
syn = { version = "2", features = ["full"] }  # git-version fails to parse inner macros without this.
140

141
[build-dependencies.rustflags]
142
version = "0.1"
143
optional = true
144

145
[dev-dependencies]
146
tempfile = "3"
147

148
[profile.release]
149
codegen-units = 1
150
panic = "abort"
151

152
[profile.dev]
153
panic = "abort"
154

155
[features]
156
default = ["version-check"]
157
# libcurl.so compatibility (Linux only).
158
curl-compat = ["rustflags"]
159
# Check and report when a new version is available.
160
version-check = ["shared_child"]
161
# Download and apply new versions.
162
self-update = ["shared_child", "dep:tar", "dep:xz2", "dep:zip", "windows-sys/Win32_System_Threading"]
163

164
# Development features
165

166
# Create compile_commands.json for IDE integration.
167
compile_commands = []
168
# Enable libgit development options.
169
gitdev = []
170

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.