netwatch-sdk 0.4.0

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.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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