[package]
edition = "2021"
name = "netwatch-sdk"
version = "0.4.0"
build = "build.rs"
exclude = [
"crates/ebpf-programs/**",
"crates/common/**",
"scripts/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared wire-format types and collectors for NetWatch Cloud — the SDK consumed by netwatch-agent and the NetWatch Cloud server. Parses /proc, ss, lsof, nettop, and libpcap events into a common Snapshot payload."
homepage = "https://github.com/matthart1983/netwatch-sdk"
readme = "README.md"
keywords = [
"network",
"monitoring",
"observability",
"sdk",
]
categories = [
"network-programming",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/matthart1983/netwatch-sdk"
[features]
default = []
ebpf = [
"dep:aya",
"dep:aya-log",
]
[lib]
name = "netwatch_sdk"
path = "src/lib.rs"
[[test]]
name = "ebpf_integration"
path = "tests/ebpf_integration.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.libc]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_os = "linux")'.dependencies.aya]
version = "0.13"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.aya-log]
version = "0.2"
optional = true