-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (60 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
73 lines (60 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "clamreef-agent"
version = "0.1.0"
edition = "2021"
authors = ["ClamReef Contributors"]
description = "A lightweight control plane agent for ClamAV with OpenTelemetry support"
repository = "https://github.com/yourusername/clamreef-agent"
license = "MIT"
keywords = ["clamav", "antivirus", "monitoring", "opentelemetry", "agent"]
categories = ["command-line-utilities", "monitoring"]
[dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
tokio-util = "0.7"
# Serialization
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
serde_json = "1.0"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# CLI
clap = { version = "4.4", features = ["derive", "env"] }
# OpenTelemetry
opentelemetry = { version = "0.21", features = ["metrics"] }
opentelemetry-otlp = { version = "0.14", features = ["tls", "grpc-tonic", "metrics"] }
opentelemetry_sdk = { version = "0.21", features = ["rt-tokio", "metrics"] }
opentelemetry-semantic-conventions = "0.13"
# Scheduling
cron = "0.12"
chrono = { version = "0.4", features = ["serde"] }
# Utilities
regex = "1.10"
glob = "0.3"
once_cell = "1.19"
futures = "0.3"
async-trait = "0.1"
# System info
sysinfo = "0.37"
hostname = "0.3"
# File watching for config reload
notify = "6.1"
[dev-dependencies]
mockall = "0.12"
tempfile = "3.8"
pretty_assertions = "1.4"
tokio-test = "0.4"
wiremock = "0.5"
rstest = "0.18"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.dev]
opt-level = 0
debug = true