Skip to main content

max / makenotwork

2.0 KB · 57 lines History Blame Raw
1 [package]
2 name = "ops-core"
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 = "Shared operator-tool infrastructure: streaming remote-exec, a generic event bus, a disk+broadcast live-log sink, and sqlite helpers. Used by sando-daemon and bento-daemon."
11
12 [dependencies]
13 ops-exec = { path = "../ops-exec" }
14 tokio = { version = "1.50.0", features = ["macros", "rt-multi-thread", "io-util", "fs", "process", "sync"] }
15 serde = { version = "1.0.228", features = ["derive"] }
16 chrono = { version = "0.4", features = ["serde"] }
17 anyhow = "1.0.102"
18 async-trait = "0.1.83"
19 tracing = "0.1.44"
20 sqlx = { version = "0.9", features = ["runtime-tokio", "sqlite"] }
21
22 [dev-dependencies]
23 tempfile = "3.20"
24 serde_json = "1"
25
26 [lints.rust]
27 unused = "warn"
28 unreachable_pub = "warn"
29
30 [lints.clippy]
31 pedantic = { level = "warn", priority = -1 }
32 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
33 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
34 # else in `pedantic` stays a warning. Keep this block identical across repos.
35 module_name_repetitions = "allow"
36 # Doc lints. No docs-completeness push is underway.
37 missing_errors_doc = "allow"
38 missing_panics_doc = "allow"
39 doc_markdown = "allow"
40 # Numeric casts. Endemic and mostly intentional in size and byte math.
41 cast_possible_truncation = "allow"
42 cast_sign_loss = "allow"
43 cast_precision_loss = "allow"
44 cast_possible_wrap = "allow"
45 cast_lossless = "allow"
46 # Subjective structure and style nags. High churn, low signal.
47 must_use_candidate = "allow"
48 too_many_lines = "allow"
49 struct_excessive_bools = "allow"
50 similar_names = "allow"
51 items_after_statements = "allow"
52 single_match_else = "allow"
53 # Frequent false-positives in TUI and router-heavy code.
54 match_same_arms = "allow"
55 unnecessary_wraps = "allow"
56 type_complexity = "allow"
57