[package] name = "ops-core" version = "0.1.0" edition = "2024" license = "MIT" # Internal shared crate, consumed by path inside this repo and never published. # `publish = false` is what makes that a cargo-enforced fact rather than a # convention: without it an accidental `cargo publish` is one command away. publish = false 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." [dependencies] ops-exec = { path = "../ops-exec" } tokio = { version = "1.50.0", features = ["macros", "rt-multi-thread", "io-util", "fs", "process", "sync"] } serde = { version = "1.0.228", features = ["derive"] } chrono = { version = "0.4", features = ["serde"] } anyhow = "1.0.102" async-trait = "0.1.83" tracing = "0.1.44" sqlx = { version = "0.9", features = ["runtime-tokio", "sqlite"] } [dev-dependencies] tempfile = "3.20" serde_json = "1" [lints.rust] unused = "warn" unreachable_pub = "warn" [lints.clippy] pedantic = { level = "warn", priority = -1 } # Allow-list tuned from a measured breakdown across server/multithreaded/pter # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything # else in `pedantic` stays a warning. Keep this block identical across repos. module_name_repetitions = "allow" # Doc lints. No docs-completeness push is underway. missing_errors_doc = "allow" missing_panics_doc = "allow" doc_markdown = "allow" # Numeric casts. Endemic and mostly intentional in size and byte math. cast_possible_truncation = "allow" cast_sign_loss = "allow" cast_precision_loss = "allow" cast_possible_wrap = "allow" cast_lossless = "allow" # Subjective structure and style nags. High churn, low signal. must_use_candidate = "allow" too_many_lines = "allow" struct_excessive_bools = "allow" similar_names = "allow" items_after_statements = "allow" single_match_else = "allow" # Frequent false-positives in TUI and router-heavy code. match_same_arms = "allow" unnecessary_wraps = "allow" type_complexity = "allow"