-
Notifications
You must be signed in to change notification settings - Fork 286
/
Cargo.toml
187 lines (174 loc) · 4.99 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
176
177
178
179
180
181
182
183
184
185
186
187
[package]
name = "mise"
version = "2024.11.3"
edition = "2021"
description = "The front-end to your dev env"
authors = ["Jeff Dickey (@jdx)"]
homepage = "https://mise.jdx.dev"
documentation = "https://mise.jdx.dev"
repository = "https://github.com/jdx/mise"
readme = "README.md"
license = "MIT"
keywords = ["mise"]
categories = ["command-line-utilities"]
include = [
"/Cargo.lock",
"/LICENSE",
"/README.md",
"/build.rs",
"/completions/*",
"/registry.toml",
"/settings.toml",
"/zipsign.pub",
"src/**/*.rs",
"src/assets/**",
"src/plugins/core/assets/**",
]
rust-version = "1.79"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "mise"
path = "src/main.rs"
#[[bench]]
#name = "config_bench"
#harness = false
[profile.serious]
inherits = "release"
lto = true
[profile.dev.package.backtrace]
opt-level = 3
[dependencies]
base64 = "0.22"
calm_io = "0.1"
chrono = { version = "0.4", default-features = false, features = [
"std",
"clock",
] }
ci_info = "0.14"
clap = { version = "4", features = ["env", "derive", "string"] }
clap_mangen = { version = "0.2", optional = true }
color-eyre = "0.6"
color-print = "0.3"
confique = { version = "0.3", default-features = false }
console = "0.15"
contracts = "0.6"
crossbeam-channel = "0.5"
demand = "1"
dotenvy = "0.15"
duct = "0.13"
either = { version = "1", features = ["serde"] }
eyre = "0.6"
filetime = "0.2"
flate2 = "1"
fslock = "0.2.1"
git2 = "<1"
glob = "0.3"
globset = "0.4"
heck = "0.5"
home = "0.5"
humantime = "2"
indenter = "0.3"
indexmap = { version = "2", features = ["serde"] }
indicatif = { version = "0.17", features = ["default", "improved_unicode"] }
indoc = "2"
itertools = "0.13"
log = "0.4"
num_cpus = "1"
number_prefix = "0.4"
once_cell = "1"
openssl = { version = "0.10", optional = true }
path-absolutize = "3"
petgraph = "0.6"
rand = "0.8"
rayon = "1"
regex = "1"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"gzip",
"zstd",
] }
rmp-serde = "1"
serde = "1"
serde_derive = "1"
serde_ignored = "0.1"
serde_json = { version = "1", features = [] }
sha2 = "0.10.8"
shell-escape = "0.1"
shell-words = "1"
signal-hook = "0.3"
siphasher = "1"
strum = { version = "0.26", features = ["derive"] }
sys-info = "0.9"
tabled = { version = "0.16", features = ["ansi"] }
tar = "0.4"
tempfile = "3"
tera = "1"
terminal_size = "0.4"
thiserror = "1"
tokio = { version = "1", features = [
"io-std",
"rt",
"time",
] }
toml = { version = "0.8", features = ["parse"] }
toml_edit = { version = "0.22", features = ["parse"] }
ubi = { version = "0.2", default-features = false }
url = "2"
# usage-lib = { path = "../usage/lib", features = ["clap", "docs"] }
usage-lib = { version = "1", features = ["clap", "docs"] }
versions = { version = "6", features = ["serde"] }
# vfox = { path = "../vfox.rs" }
vfox = { version = "0.3", default-features = false }
walkdir = "2"
which = "7"
xx = { version = "1", features = ["glob"] }
zip = { version = "2", default-features = false, features = ["deflate"] }
[target.'cfg(unix)'.dependencies]
exec = "0.3"
nix = { version = "0.29", features = ["signal", "user"] }
self_update = { version = "0.41", default-features = false, features = [
"archive-tar",
"compression-flate2",
"signatures",
] }
[target.'cfg(windows)'.dependencies]
self_update = { version = "0.41", default-features = false, features = [
"archive-zip",
"signatures",
] }
sevenz-rust = "0.6"
[build-dependencies]
built = { version = "0.7", features = ["chrono", "git2"] }
cfg_aliases = "0.2"
heck = "0.5"
toml = "0.8"
indexmap = "2"
[dev-dependencies]
assert_cmd = "2"
ctor = "0.2"
insta = { version = "1", features = ["filters", "json"] }
predicates = "3"
pretty_assertions = "1"
test-case = "3"
test-log = "0.2"
[features]
default = ["native-tls", "vfox/vendored-lua"]
timings = []
native-tls = ["reqwest/native-tls", "ubi/native-tls"]
rustls = ["reqwest/rustls-tls", "self_update/rustls", "ubi/rustls-tls"]
rustls-native-roots = ["reqwest/rustls-tls-native-roots", "self_update/rustls", "ubi/rustls-tls-native-roots"]
[package.metadata.binstall]
bin-dir = "mise/bin/mise"
[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-macos-arm64{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-macos-x64{ archive-suffix }"
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-arm64{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-x64{ archive-suffix }"
[package.metadata.binstall.overrides.armv7-unknown-linux-gnueabihf]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-armv7{ archive-suffix }"
[package.metadata.cargo-machete]
ignored = ["built", "openssl", "cfg_aliases"]