-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
103 lines (81 loc) · 1.8 KB
/
Cargo.toml
File metadata and controls
103 lines (81 loc) · 1.8 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[workspace]
resolver = "2"
members = [
"src/adguard-validation/adguard-validation-core",
"src/adguard-validation/adguard-validation-cli",
"src/adguard-api-rust/adguard-api-lib",
"src/adguard-api-rust/adguard-api-cli",
"src/rules-compiler-rust",
]
[workspace.package]
version = "1.0.0"
edition = "2021"
authors = ["jaypatrick"]
license = "GPL-3.0"
repository = "https://github.com/jaypatrick/ad-blocking"
rust-version = "1.83"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.40", features = ["full"] }
# HTTP clients
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
serde_repr = "0.1"
toml = "0.8"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# CLI
clap = { version = "4.5", features = ["derive"] }
dialoguer = "0.11"
console = "0.15"
indicatif = "0.17"
# Hashing and cryptography
sha2 = "0.10"
hex = "0.4"
# Time/Date
chrono = { version = "0.4", features = ["serde"] }
# URL parsing
url = "2.5"
# UUID
uuid = { version = "1.11", features = ["v4", "serde"] }
# File system utilities
walkdir = "2.5"
dirs = "5.0"
# Regex
regex = "1.11"
# Cross-platform utilities
which = "7.0"
# Runtime version detection
rustc_version_runtime = "0.3"
# Async utilities
futures = "0.3"
# Logging/tracing
tracing = "0.1"
# WASM support
wasm-bindgen = "0.2"
js-sys = "0.3"
web-sys = "0.3"
# Development dependencies
[workspace.dependencies.tempfile]
version = "3.14"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
opt-level = 3
[profile.dev]
opt-level = 0
debug = true
# Workspace-wide lints
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[workspace.lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"