Skip to main content

max / makenotwork

1.8 KB · 49 lines History Blame Raw
1 [package]
2 name = "ops-artifact"
3 version = "0.1.0"
4 edition = "2024"
5 license = "MIT"
6 # Internal shared crate, consumed by path inside this repo and never published.
7 # `publish = false` is what makes that a cargo-enforced fact rather than a
8 # convention: without it an accidental `cargo publish` is one command away.
9 publish = false
10 description = "The artifact and evidence contract between the system that builds a release and the system that advances it. Names what bytes exist, what source they came from, and what has been proven about them."
11
12 [dependencies]
13 serde = { version = "1.0.228", features = ["derive"] }
14 serde_json = "1"
15 chrono = { version = "0.4", features = ["serde"] }
16 sha2 = "0.10"
17
18 [lints.rust]
19 unused = "warn"
20 unreachable_pub = "warn"
21
22 [lints.clippy]
23 pedantic = { level = "warn", priority = -1 }
24 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
25 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
26 # else in `pedantic` stays a warning. Keep this block identical across repos.
27 module_name_repetitions = "allow"
28 # Doc lints. No docs-completeness push is underway.
29 missing_errors_doc = "allow"
30 missing_panics_doc = "allow"
31 doc_markdown = "allow"
32 # Numeric casts. Endemic and mostly intentional in size and byte math.
33 cast_possible_truncation = "allow"
34 cast_sign_loss = "allow"
35 cast_precision_loss = "allow"
36 cast_possible_wrap = "allow"
37 cast_lossless = "allow"
38 # Subjective structure and style nags. High churn, low signal.
39 must_use_candidate = "allow"
40 too_many_lines = "allow"
41 struct_excessive_bools = "allow"
42 similar_names = "allow"
43 items_after_statements = "allow"
44 single_match_else = "allow"
45 # Frequent false-positives in TUI and router-heavy code.
46 match_same_arms = "allow"
47 unnecessary_wraps = "allow"
48 type_complexity = "allow"
49