Skip to main content

max / makenotwork

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