-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
125 lines (113 loc) · 3.54 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
115
116
117
118
119
120
121
122
123
124
125
[package]
name = "maid"
version = "2.0.0"
edition = "2021"
license = "BSL-1.1"
build = "build/attribute.rs"
repository = "https://github.com/exact-rs/maid"
description = "🔨 A comprehensive build tool for all your needs."
[[bin]]
name = "maid"
path = "maid/client/main.rs"
required-features = ["client"]
[[bin]]
name = "maid-server"
path = "maid/server/main.rs"
required-features = ["server"]
[features]
default = ["client", "server"]
client = [
"dep:url",
"dep:toml",
"dep:json5",
"dep:notify",
"dep:inquire",
"dep:reqwest",
"dep:fs_extra",
"dep:env_logger",
"dep:serde_yaml",
"dep:lazy_static",
"dep:merkle_hash",
"dep:human_bytes",
"dep:merge-struct",
"dep:pretty_number",
"dep:data-encoding",
"dep:strip-ansi-escapes",
"dep:notify-debouncer-mini"
]
server = [
"dep:libc",
"dep:bytes",
"dep:ntapi",
"dep:tokio",
"dep:rocket",
"dep:winapi",
"dep:chrono",
"dep:futures",
"dep:bollard",
"dep:rocket_ws",
"dep:tokio-util",
"dep:futures-core",
"dep:futures-util",
"dep:serde_derive",
"dep:pretty_env_logger"
]
[profile.release]
lto = true
strip = true
opt-level = 3
codegen-units = 1
[dependencies]
log = "0.4.22"
tar = "0.4.43"
home = "0.5.9"
colored = "2.1.0"
flate2 = "1.0.35"
anyhow = "1.0.93"
termcolor = "1.4.1"
macros-rs = "0.5.2"
indicatif = "0.17.9"
serde_json = "1.0.133"
text_placeholder = "0.5.1"
global_placeholders = "0.1.0"
clap-verbosity-flag = "2.2.3"
clap = { version = "4.5.21", features = ["derive"] }
serde = { version = "1.0.215", features = ["derive"] }
uuid = { version = "1.11.0", features = ["v4", "fast-rng"] }
tungstenite = { version = "0.20.1", features = ["rustls-tls-webpki-roots"] }
# enable-feature = client
url = { version = "2.5.3", optional = true }
toml = { version = "0.8.19", optional = true }
json5 = { version = "0.4.1", optional = true }
notify = { version = "6.1.1", optional = true }
inquire = { version = "0.6.2", optional = true }
fs_extra = { version = "1.3.0", optional = true }
env_logger = { version = "0.10.2", optional = true }
lazy_static = { version = "1.5.0", optional = true }
serde_yaml = { version = "0.9.34", optional = true }
merkle_hash = { version = "3.7.0", optional = true }
merge-struct = { version = "0.1.0", optional = true }
pretty_number = { version = "0.1.0", optional = true }
data-encoding = { version = "2.6.0", optional = true }
strip-ansi-escapes = { version = "0.2.0", optional = true }
notify-debouncer-mini = { version = "0.4.1", optional = true }
human_bytes = { version = "0.4.3", default-features = false, optional = true }
reqwest = { version = "0.11.27", default-features = false, features = ["json", "blocking", "rustls-tls"], optional = true }
# enable-feature = server
bytes = { version = "1.8.0", optional = true }
ntapi = { version = "0.4.1", optional = true }
libc = { version = "0.2.164", optional = true }
winapi = { version = "0.3.9", optional = true }
chrono = { version = "0.4.38", optional = true }
futures = { version = "0.3.31", optional = true }
bollard = { version = "0.15.0", optional = true }
rocket_ws = { version = "0.1.1", optional = true }
tokio-util = { version = "0.7.12", optional = true }
futures-core = { version = "0.3.31", optional = true }
futures-util = { version = "0.3.31", optional = true }
serde_derive = { version = "1.0.215", optional = true }
pretty_env_logger = { version = "0.5.0", optional = true }
tokio = { version = "1.41.1", features = ["full"], optional = true }
rocket = { version = "0.5.1", features = ["json", "msgpack"], optional = true }
[build-dependencies]
chrono = "0.4.38"