-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (73 loc) · 1.63 KB
/
Cargo.toml
File metadata and controls
83 lines (73 loc) · 1.63 KB
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
[package]
name = "goup-rs"
version = "0.16.11"
authors = ["thinkgo <thinkgo@aliyun.com>"]
edition = "2024"
rust-version = "1.93"
description = "goup is an elegant Go version manager"
keywords = ["goup", "golang", "version-manager", "tool", "rust"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/thinkgos/goup-rs"
repository = "https://github.com/thinkgos/goup-rs"
build = "build.rs"
[[bin]]
name = "goup"
path = "src/main.rs"
[features]
default = []
no-self-update = []
[build-dependencies]
version_check = "0.9"
shadow-rs = "1.7"
[dependencies]
anyhow = "1.0"
log = "0.4"
regex = "1.12"
reqwest = { version = "0.12", default-features = false, features = [
"blocking",
"rustls-tls-native-roots",
"json",
] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
which = "8.0"
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
dialoguer = "0.12"
indicatif = "0.18"
self_update = { version = "0.42", default-features = false, features = [
"rustls",
"compression-flate2",
"compression-zip-deflate",
] }
shadow-rs = "1.7"
env_logger = { version = "0.11", features = ["color"] }
chrono = "0.4.43"
sha2 = "0.10"
flate2 = "1.1"
tar = "0.4"
zip = "8.2"
dirs = "6.0"
semver = "1.0"
owo-colors = "4"
scraper = "0.25"
dotenvy = "0.15"
# git2 = "0.20"
[target.'cfg(windows)'.dependencies]
junction = "1.4"
[dev-dependencies]
# dev
tempfile = "3"
temp-env = "0.3"
[lints.rust]
unsafe_code = "forbid"
# unused = "allow" # for experimental dev
[profile.dev.package."*"]
opt-level = "z"
[profile.release]
opt-level = "z"
strip = true
lto = true
codegen-units = 1
panic = "abort"