Skip to main content

max / makenotwork

2.0 KB · 58 lines History Blame Raw
1 [package]
2 name = "ops-core"
3 version = "0.2.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 thiserror = "2"
19 async-trait = "0.1.83"
20 tracing = "0.1.44"
21 sqlx = { version = "0.9", features = ["runtime-tokio", "sqlite"] }
22
23 [dev-dependencies]
24 tempfile = "3.20"
25 serde_json = "1"
26
27 [lints.rust]
28 unused = "warn"
29 unreachable_pub = "warn"
30
31 [lints.clippy]
32 pedantic = { level = "warn", priority = -1 }
33 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
34 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
35 # else in `pedantic` stays a warning. Keep this block identical across repos.
36 module_name_repetitions = "allow"
37 # Doc lints. No docs-completeness push is underway.
38 missing_errors_doc = "allow"
39 missing_panics_doc = "allow"
40 doc_markdown = "allow"
41 # Numeric casts. Endemic and mostly intentional in size and byte math.
42 cast_possible_truncation = "allow"
43 cast_sign_loss = "allow"
44 cast_precision_loss = "allow"
45 cast_possible_wrap = "allow"
46 cast_lossless = "allow"
47 # Subjective structure and style nags. High churn, low signal.
48 must_use_candidate = "allow"
49 too_many_lines = "allow"
50 struct_excessive_bools = "allow"
51 similar_names = "allow"
52 items_after_statements = "allow"
53 single_match_else = "allow"
54 # Frequent false-positives in TUI and router-heavy code.
55 match_same_arms = "allow"
56 unnecessary_wraps = "allow"
57 type_complexity = "allow"
58