Skip to main content

max / makenotwork

2.3 KB · 67 lines History Blame Raw
1 [package]
2 name = "mnw-cli"
3 version = "0.1.1"
4 edition = "2024"
5 license = "LicenseRef-PolyForm-Noncommercial-1.0.0"
6
7 [dependencies]
8 # russh defaults to the aws-lc-rs backend (a C crypto library); `ring` is the
9 # pure-Rust alternative it offers, matching the reqwest side below.
10 russh = { version = "0.62", default-features = false, features = ["ring", "flate2", "rsa"] }
11 russh-sftp = "2.1"
12 ratatui = "0.30"
13 crossterm = "0.29"
14 tokio = { version = "1", features = ["full"] }
15 # `rustls-no-provider` rather than `rustls`: the latter is an alias for
16 # `__rustls-aws-lc-rs`, which links a C crypto backend. The provider is ring
17 # (pure Rust), installed process-wide by `crate::tls` before any client is built.
18 reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider", "query"] }
19 rustls = { version = "0.23", default-features = false, features = ["std", "tls12", "logging", "ring"] }
20 serde = { version = "1", features = ["derive"] }
21 serde_json = "1"
22 rand = "0.10"
23 tracing = "0.1"
24 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
25 anyhow = "1"
26 bytes = "1"
27 hmac = "0.13.0"
28 sha2 = "0.11.0"
29 hex = "0.4.3"
30 synckit-client = { git = "https://makenot.work/git/max/synckit.git", default-features = false }
31 uuid = "1"
32
33 [lints.rust]
34 unused = "warn"
35 unreachable_pub = "warn"
36
37 [lints.clippy]
38 pedantic = { level = "warn", priority = -1 }
39 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
40 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
41 # else in `pedantic` stays a warning. Keep this block identical across repos.
42 module_name_repetitions = "allow"
43 # Doc lints. No docs-completeness push is underway.
44 missing_errors_doc = "allow"
45 missing_panics_doc = "allow"
46 doc_markdown = "allow"
47 # Numeric casts. Endemic and mostly intentional in size and byte math.
48 cast_possible_truncation = "allow"
49 cast_sign_loss = "allow"
50 cast_precision_loss = "allow"
51 cast_possible_wrap = "allow"
52 cast_lossless = "allow"
53 # Subjective structure and style nags. High churn, low signal.
54 must_use_candidate = "allow"
55 too_many_lines = "allow"
56 struct_excessive_bools = "allow"
57 similar_names = "allow"
58 items_after_statements = "allow"
59 single_match_else = "allow"
60 # Frequent false-positives in TUI and router-heavy code.
61 match_same_arms = "allow"
62 unnecessary_wraps = "allow"
63 type_complexity = "allow"
64
65 [dev-dependencies]
66 tempfile = "3"
67