Skip to main content

max / supernote-push

1.5 KB · 50 lines History Blame Raw
1 [package]
2 name = "supernote-push"
3 version = "0.1.0"
4 edition = "2024"
5 description = "Push PDFs to a Ratta Supernote over Browse & Access (LAN HTTP)."
6 license = "MIT"
7 repository = "https://git.sr.ht/~maxmj/supernote-push"
8 keywords = ["supernote", "eink", "ratta"]
9 categories = ["api-bindings", "network-programming"]
10
11 [dependencies]
12 ureq = "3.3"
13 mdns-sd = "0.20"
14 serde = { version = "1", features = ["derive"] }
15 serde_json = "1"
16 thiserror = "2"
17 percent-encoding = "2"
18
19 [lints.rust]
20 unused = "warn"
21 unreachable_pub = "warn"
22
23 [lints.clippy]
24 pedantic = { level = "warn", priority = -1 }
25 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
26 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
27 # else in `pedantic` stays a warning. Keep this block identical across repos.
28 module_name_repetitions = "allow"
29 # Doc lints. No docs-completeness push is underway.
30 missing_errors_doc = "allow"
31 missing_panics_doc = "allow"
32 doc_markdown = "allow"
33 # Numeric casts. Endemic and mostly intentional in size and byte math.
34 cast_possible_truncation = "allow"
35 cast_sign_loss = "allow"
36 cast_precision_loss = "allow"
37 cast_possible_wrap = "allow"
38 cast_lossless = "allow"
39 # Subjective structure and style nags. High churn, low signal.
40 must_use_candidate = "allow"
41 too_many_lines = "allow"
42 struct_excessive_bools = "allow"
43 similar_names = "allow"
44 items_after_statements = "allow"
45 single_match_else = "allow"
46 # Frequent false-positives in TUI and router-heavy code.
47 match_same_arms = "allow"
48 unnecessary_wraps = "allow"
49 type_complexity = "allow"
50