-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
52 lines (45 loc) · 1 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
[workspace]
resolver = "2"
members = [
"goup",
"goup-version",
"goup-downloader"
]
default-members = ["goup"]
[workspace.package]
version = "0.9.6"
authors = ["thinkgo <[email protected]>"]
edition = "2021"
rust-version = "1.74"
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"
[workspace.dependencies]
anyhow = "1.0"
log = "0.4"
regex = "1.11"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls-native-roots", "json"] }
serde = {version = "1", features = ["derive"]}
serde_json = "1"
# dev
tempfile = "3"
temp-env = "0.3"
[workspace.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