-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (43 loc) · 1.58 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (43 loc) · 1.58 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
[package]
name = "imgup"
description = "Upload images via APIs"
version = "0.0.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/deadnews/imgup"
keywords = ["image", "upload", "cli"]
[dependencies]
# CLI & config
clap = { version = "4.6", features = ["derive"] }
dirs = { version = "6.0" }
dotenvy = { version = "0.15" }
# Async & HTTP
futures = { version = "0.3", default-features = false, features = ["alloc"] }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "multipart", "cookies", "form"] }
tokio = { version = "1.52", features = ["fs", "macros", "rt-multi-thread"] }
# Serialization
base64 = { version = "0.22" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
# Image processing
fontdue = { version = "0.9" }
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp", "tiff"] }
# System integration
arboard = { version = "3.6", default-features = false, features = ["wayland-data-control"] }
notify-rust = { version = "4.18" }
# Error handling & logging
anyhow = { version = "1.0" }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "ansi", "std"] }
[dev-dependencies]
wiremock = { version = "0.6" }
[profile.release]
codegen-units = 1
lto = true
strip = true
[lints.rust]
unsafe_code = "forbid"
dead_code_pub_in_binary = "warn"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"