- Added custom logging macros (log_error!, log_warn!, log_info!, log_debug!) - Implemented LogLevel enum and LOG_LEVEL static for runtime level control - Exported macros with #[macro_export] for use across all modules - Replaced all log:: calls in websocket_client.rs, health.rs, and version.rs - Removed obsolete test code referencing old log crate - Removed log dependency from Cargo.toml - Fixed useless comparison warning in test - Binary size: still 1.5M (no change - log was lightweight) - Tests: 65 passing, 0 warnings This completes the removal of 9 dependencies (thiserror, hostname, chrono, base64, rand, ureq, tiny_http, anyhow, log). Dependency count: 19 → 10. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
25 lines
585 B
TOML
25 lines
585 B
TOML
[package]
|
|
name = "towerops-agent"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
snmp = "0.2"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "net"] }
|
|
tokio-tungstenite = { version = "0.21", features = ["rustls-tls-webpki-roots"] }
|
|
futures = "0.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
clap = { version = "4.0", features = ["derive", "env"] }
|
|
prost = "0.13"
|
|
prost-types = "0.13"
|
|
socket2 = "0.5"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.13"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|