-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (30 loc) · 1.04 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
[package]
name = "smmstools"
authors = ["萌面喵喵侠<[email protected]"]
homepage = "https://lolico.me"
version = "0.2.0"
edition = "2021"
[[bin]]
name = "smmstools"
path = "src/bin/main.rs"
[dependencies]
reqwest = { version = "0.12", features = ["json", "multipart", "stream"] }
tokio = { version = "1.40", features = ["full"] }
clap = { version = "4.5", features = ["derive", "env"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_repr = "0.1"
mime_guess = { version = "2" }
thiserror = "1.0"
anyhow = "1.0"
[target.'cfg(not(any(target_os = "windows")))'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[dev-dependencies]
assert_matches = "1.5.0"
# Enable test-utilities in dev mode only. This is mostly for tests.
tokio = { version = "1.40", features = ["test-util"] }
[profile.release]
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*