-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (76 loc) · 2.4 KB
/
Copy pathCargo.toml
File metadata and controls
86 lines (76 loc) · 2.4 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
[workspace]
resolver = "3"
members = ["crates/*"]
[workspace.package]
version = "1.0.2"
edition = "2024"
rust-version = "1.97.1"
authors = ["lfming0419"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Shinnosuke0722/jm"
[workspace.lints.rust]
rust-2024-compatibility = "warn"
[package]
name = "jm"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Cross-platform JDK and Java version manager written in Rust"
authors.workspace = true
license.workspace = true
homepage = "https://github.com/Shinnosuke0722/jm"
repository.workspace = true
documentation = "https://github.com/Shinnosuke0722/jm#readme"
readme = "README.md"
keywords = ["java", "jdk", "openjdk", "version-manager", "cli"]
categories = ["command-line-utilities", "development-tools"]
[lints]
workspace = true
[dependencies]
jm-core = { path = "crates/jm-core" }
jm-api = { path = "crates/jm-api" }
jm-install = { path = "crates/jm-install" }
jm-shell = { path = "crates/jm-shell" }
clap = { version = "4", features = ["derive", "env", "string"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs"] }
anyhow = "1"
console = "0.16"
comfy-table = "8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
clap_complete = "4"
dialoguer = "0.12"
tempfile = "3"
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json", "gzip"] }
tar = "0.4"
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
# Release archives use standard Deflate compression. Avoid unrelated ZIP
# codecs and timestamp parsing that increase the dependency and audit surface.
zip = { version = "8", default-features = false, features = ["deflate-flate2"] }
toml = "1.1"
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
criterion = { version = "0.8", features = ["html_reports"] }
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
lto = true
strip = true
codegen-units = 1
opt-level = "z"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1.1"
thiserror = "2"
anyhow = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs"] }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json", "gzip", "stream"] }
sha2 = "0.11"
dirs = "6"
chrono = { version = "0.4", features = ["serde"] }
url = "2"