-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
117 lines (102 loc) · 2.52 KB
/
Copy pathCargo.toml
File metadata and controls
117 lines (102 loc) · 2.52 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
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
[package]
name = "wukong"
version = "0.3.4"
edition = "2024"
authors = ["linux_china <libing.chen@gmail.com>"]
description = "Wukong is a command-line toolchain for Java with Rust"
keywords = ["java", "toolchain", "jbang", "sdkman"]
categories = ["command-line-utilities"]
documentation = "https://github.com/linux-china/wukong"
readme = "README.md"
homepage = "https://github.com/linux-china/wukong"
repository = "https://github.com/linux-china/wukong"
license = "Apache-2.0"
[[bin]]
name = "jbang"
path = "src/jbang.rs"
[[bin]]
name = "sdk"
path = "src/sdkman.rs"
[[bin]]
name = "jenv"
path = "src/jenv.rs"
[[bin]]
name = "mcs"
path = "src/mcs.rs"
[[bin]]
name = "mt"
path = "src/mt.rs"
[[bin]]
name = "jarviz"
path = "src/jarviz.rs"
[[bin]]
name = "jaz"
path = "src/jaz.rs"
[[bin]]
name = "gav"
path = "src/gav.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = "4.6"
url = "2.5"
flate2 = "1.1"
tar = "0.4.46"
reqwest = { version = "0.13", features = ["json", "blocking"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
quick-xml = { version = "0.42", features = ["serialize"] }
which = "8"
dirs = "6"
anyhow = "1"
java-properties = "2"
zip = "8.6"
colored = "3"
handlebars = "6.4"
itertools = "0.15"
symlink = "0.1.0"
fs_extra = "1.3.0"
shlex = "2.0"
lazy_static = "1.5.0"
chrono = "0.4.45"
pad = "0.1"
walkdir="2.5"
prettytable-rs = "0.10"
regex="1.13"
dotenvx-rs = "0.4.32"
[dev-dependencies]
dotenvy = "0.15"
rstest = "0.26"
testresult = "0.4"
[profile.dev]
opt-level = 0
debug = 0
[profile.dev.package."*"]
opt-level = 3
[profile.release]
strip = true
lto = true
opt-level = "z"
codegen-units = 1
panic = "abort"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = true
# Config for 'dist'
[workspace.metadata.dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.32.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Whether to install an updater program
install-updater = true
# Path that installers should place binaries in
install-path = "CARGO_HOME"