init
This commit is contained in:
44
Cargo.toml
Normal file
44
Cargo.toml
Normal file
@@ -0,0 +1,44 @@
|
||||
[package]
|
||||
name = "symon"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Alex"]
|
||||
description = "Lightweight system metrics exporter for OpenTelemetry"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/battilo/symon"
|
||||
|
||||
[dependencies]
|
||||
# OpenTelemetry
|
||||
opentelemetry = { version = "0.26", features = ["metrics"] }
|
||||
opentelemetry-otlp = { version = "0.26", features = ["metrics", "grpc-tonic"] }
|
||||
opentelemetry_sdk = { version = "0.26", features = ["metrics", "rt-tokio"] }
|
||||
opentelemetry-semantic-conventions = "0.26"
|
||||
|
||||
# Async runtime
|
||||
tokio = { version = "1.48", features = ["rt-multi-thread", "macros", "sync", "time", "signal"] }
|
||||
tonic = "0.11"
|
||||
|
||||
# System metrics collection
|
||||
sysinfo = "0.31"
|
||||
|
||||
# Configuration
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
toml = "0.8"
|
||||
|
||||
# Logging and error handling
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
|
||||
# Process filtering
|
||||
regex = "1.11"
|
||||
|
||||
# CLI
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
Reference in New Issue
Block a user