git-cinnabar
/
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]6name = "git-cinnabar"7version = "0.7.0-b"8description = "git remote helper to interact with mercurial repositories"9authors = ["Mike Hommey <mh@glandium.org>"]10edition = "2021"11license = "MPL-2.0 AND GPL-2.0"12repository = "https://github.com/glandium/git-cinnabar"13rust-version = "1.74.0"14include = [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]31array-init = "2.0.1"32backtrace = "0.3"33bit-vec = "0.8"34bitflags = "2"35bzip2 = "0.4"36byteorder = "1"37cfg-if = "1"38concat_const = "0.1"39cstr = "0.2.10"40derivative = "2"41digest = "0.10"42either = "1"43getset = "0.1"44git-version = "0.3"45hex = "0.4"46hex-literal = "0.4"47indexmap = "2"48itertools = "0.13"49libc = "0.2"50once_cell = "1.13"51percent-encoding = "2"52rand = "0.8"53semver = "1.0"54sha-1 = "0.10"55tee = "0.1"56tempfile = "3"57typenum = "1"58url = "2"59
60[dependencies.bstr]61version = "1"62default-features = false63features = ["std"]64
65[dependencies.clap]66version = "4.2"67features = ["cargo", "derive"]68
69[target.'cfg(windows)'.dependencies.curl-sys]70version = "0.4"71default-features = false72features = ["ssl", "static-curl"]73
74[target.'cfg(not(windows))'.dependencies.curl-sys]75version = "0.4"76default-features = false77
78[dependencies.derive_more]79version = "0.99"80default-features = false81features = ["deref", "from", "try_into"]82
83[dependencies.flate2]84version = "1"85default-features = false86features = ["zlib"]87
88[target.'cfg(windows)'.dependencies.libz-sys]89version = "1"90features = ["static"]91
92[target.'cfg(not(windows))'.dependencies.libz-sys]93version = "1"94
95[dependencies.log]96version = "0.4"97features = ["std"]98
99[dependencies.lru]100version = "0.12"101default-features = false102
103[dependencies.regex]104version = "1"105default-features = false106features = ["std"]107
108[dependencies.shared_child]109version = "1.0"110optional = true111
112[target.'cfg(not(windows))'.dependencies.tar]113version = "0.4"114optional = true115
116[target.'cfg(windows)'.dependencies.windows-sys]117version = "0.52"118features = ["Win32_Foundation"]119
120[target.'cfg(not(windows))'.dependencies.xz2]121version = "0.1"122optional = true123
124[target.'cfg(windows)'.dependencies.zip]125version = "2"126default-features = false127features = ["deflate-zlib"]128optional = true129
130[dependencies.zstd]131version = "0.13"132default-features = false133
134[build-dependencies]135cc = "1.0.46"136itertools = "0.13"137make-cmd = "0.1"138target = "2.0"139syn = { version = "2", features = ["full"] } # git-version fails to parse inner macros without this.140
141[build-dependencies.rustflags]142version = "0.1"143optional = true144
145[dev-dependencies]146tempfile = "3"147
148[profile.release]149codegen-units = 1150panic = "abort"151
152[profile.dev]153panic = "abort"154
155[features]156default = ["version-check"]157# libcurl.so compatibility (Linux only).
158curl-compat = ["rustflags"]159# Check and report when a new version is available.
160version-check = ["shared_child"]161# Download and apply new versions.
162self-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.
167compile_commands = []168# Enable libgit development options.
169gitdev = []170