| 1 |
[package] |
| 2 |
name = "wam" |
| 3 |
version = "0.3.0" |
| 4 |
edition = "2024" |
| 5 |
license = "MIT" |
| 6 |
|
| 7 |
[[bin]] |
| 8 |
name = "wam" |
| 9 |
path = "src/main.rs" |
| 10 |
|
| 11 |
[dependencies] |
| 12 |
axum = "0.8" |
| 13 |
chrono = { version = "0.4", features = ["serde"] } |
| 14 |
clap = { version = "4", features = ["derive"] } |
| 15 |
color-eyre = "0.6" |
| 16 |
directories = "6" |
| 17 |
painhours = { path = "../shared/painhours" } |
| 18 |
rusqlite = { version = "0.40", features = ["bundled"] } |
| 19 |
serde = { version = "1", features = ["derive"] } |
| 20 |
serde_json = "1" |
| 21 |
# `rustls-no-provider` rather than `rustls`: the latter is an alias for |
| 22 |
# `__rustls-aws-lc-rs`, which links a C crypto backend. The provider is ring |
| 23 |
# (pure Rust), installed process-wide by `crate::tls` before any client is built. |
| 24 |
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider"] } |
| 25 |
rustls = { version = "0.23", default-features = false, features = ["std", "tls12", "logging", "ring"] } |
| 26 |
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "time"] } |
| 27 |
urlencoding = "2" |
| 28 |
uuid = { version = "1", features = ["v4"] } |
| 29 |
|
| 30 |
[lints.rust] |
| 31 |
unused = "warn" |
| 32 |
unreachable_pub = "warn" |
| 33 |
|
| 34 |
[lints.clippy] |
| 35 |
pedantic = { level = "warn", priority = -1 } |
| 36 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 37 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 38 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 39 |
module_name_repetitions = "allow" |
| 40 |
# Doc lints. No docs-completeness push is underway. |
| 41 |
missing_errors_doc = "allow" |
| 42 |
missing_panics_doc = "allow" |
| 43 |
doc_markdown = "allow" |
| 44 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 45 |
cast_possible_truncation = "allow" |
| 46 |
cast_sign_loss = "allow" |
| 47 |
cast_precision_loss = "allow" |
| 48 |
cast_possible_wrap = "allow" |
| 49 |
cast_lossless = "allow" |
| 50 |
# Subjective structure and style nags. High churn, low signal. |
| 51 |
must_use_candidate = "allow" |
| 52 |
too_many_lines = "allow" |
| 53 |
struct_excessive_bools = "allow" |
| 54 |
similar_names = "allow" |
| 55 |
items_after_statements = "allow" |
| 56 |
single_match_else = "allow" |
| 57 |
# Frequent false-positives in TUI and router-heavy code. |
| 58 |
match_same_arms = "allow" |
| 59 |
unnecessary_wraps = "allow" |
| 60 |
type_complexity = "allow" |
| 61 |
|