nfm-common/Cargo.toml (19 lines of code) (raw):
[package]
name = "nfm-common"
description = "network-flow-monitor-agent collects networking performance statistics from the local machine"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/aws/network-flow-monitor-agent"
[dependencies]
aya = { version = "0.13", optional = true }
aya-ebpf = { version = "0.1", optional = true}
bitflags = { version = "2", optional = true, features = ["serde"] }
libc = { version = "0.2", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
[lib]
path = "src/mod.rs"
[features]
default = []
bpf = ["aya-ebpf", "bitflags"]
user = ["aya", "bitflags", "libc", "serde"]