-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (63 loc) · 1.92 KB
/
Cargo.toml
File metadata and controls
68 lines (63 loc) · 1.92 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
[package]
name = "olx-tracker"
version = "0.1.3"
edition = "2024"
rust-version = "1.85"
description = "A CLI tool to track OLX.pt listings, monitor prices, and alert on good deals"
license = "MIT"
repository = "https://github.com/nikuscs/olx-tracker"
readme = "README.md"
keywords = ["olx", "tracker", "price", "cli"]
categories = ["command-line-utilities"]
[dependencies]
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.13", features = ["json", "socks", "gzip", "brotli"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive", "env"] }
axum = "0.7"
rusqlite = { version = "0.38", features = ["bundled"] }
rusqlite_migration = { version = "2", features = ["from-directory"] }
fake_user_agent = "0.2"
toml = "0.9"
chrono = { version = "0.4", default-features = false, features = [
"clock",
"serde",
] }
anyhow = "1"
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
async-trait = "0.1"
urlencoding = "2"
shellexpand = "3"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3"
tower = "0.5"
http-body-util = "0.1"
wiremock = "0.6"
[profile.release]
lto = true
codegen-units = 1
strip = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# Allow common patterns for CLI app
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
# Allow practical patterns
needless_pass_by_value = "allow"
future_not_send = "allow" # Single-threaded CLI doesn't need Send futures
cast_possible_truncation = "allow" # We control input sizes
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
format_push_string = "allow" # Readability over micro-optimization
return_self_not_must_use = "allow"
unnecessary_debug_formatting = "allow"