-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
114 lines (98 loc) · 2.77 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
[package]
name = "rokit"
version = "1.0.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/rojo-rbx/rokit"
description = "Next-generation toolchain manager for Roblox projects"
readme = "README.md"
keywords = ["cli"]
categories = ["command-line-interface"]
[[bin]]
name = "rokit"
path = "src/main.rs"
[lib]
name = "rokit"
path = "lib/lib.rs"
[features]
default = ["cli"]
cli = [
"dep:anyhow",
"dep:clap",
"dep:console",
"dep:dialoguer",
"dep:indicatif",
"dep:pulldown-cmark-mdcat",
"dep:pulldown-cmark",
"dep:syntect",
"dep:tracing-subscriber",
]
[profile.release]
opt-level = "z"
strip = true
lto = true
[dependencies]
dashmap = { version = "6.0", features = ["serde"] }
dirs = "5.0"
dunce = "1.0"
filepath = "0.1"
flate2 = "1.0"
goblin = "0.9"
once_cell = "1.8"
postcard = { version = "1.0", features = ["alloc"] }
semver = { version = "1.0", features = ["serde"] }
tar = "0.4"
tempfile = "3.3"
thiserror = "2.0"
unindent = "0.2"
url = { version = "2.5", features = ["serde"] }
which = "7.0"
zip = "2.1"
# Async / runtime dependencies
async-once-cell = "0.5"
async-signal = "0.2"
futures = "0.3"
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"http2",
"json",
"gzip",
"brotli",
"deflate",
] }
reqwest-middleware = "0.4"
reqwest-retry = "0.7"
reqwest-tracing = "0.5"
tokio = { version = "1.36", features = ["full"] }
tracing = "0.1"
# Serde / file format dependencies
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
serde_with = { version = "3.7", features = ["macros"] }
toml_edit = "0.22"
toml = "0.8"
# CLI dependencies
anyhow = { optional = true, version = "1.0" }
clap = { optional = true, version = "4.5", features = ["derive"] }
console = { optional = true, version = "0.15" }
dialoguer = { optional = true, version = "0.11" }
indicatif = { optional = true, version = "0.17" }
pulldown-cmark-mdcat = { optional = true, version = "=2.6.1", default-features = false }
pulldown-cmark = { optional = true, version = "=0.12.2" }
syntect = { optional = true, version = "5.2.0" }
tracing-subscriber = { optional = true, version = "0.3", features = [
"env-filter",
] }
[target.'cfg(windows)'.dependencies]
command-group = { version = "5.0", features = ["with-tokio"] }
winapi = { version = "0.3", features = ["processthreadsapi", "wincon"] }
winreg = "0.52"
[lints.clippy]
all = { level = "deny", priority = -3 }
cargo = { level = "warn", priority = -2 }
pedantic = { level = "warn", priority = -1 }
missing_panics_doc = { level = "allow", priority = 1 }
module_name_repetitions = { level = "allow", priority = 1 }
multiple_crate_versions = { level = "allow", priority = 1 }
too_many_lines = { level = "allow", priority = 1 }
unused_async = { level = "allow", priority = 1 }