[package] name = "pulso" version = "0.1.0" authors = ["Daniel James Baumann "] description = "A simple metrics collector for TCP/IP" license = "MIT" repository = "https://github.com/guapodero/pulso" readme = "README.md" keywords = ["pcap", "packet", "sniffing", "metric"] categories = ["command-line-utilities", "network-programming"] edition = "2021" rust-version = "1.73.0" exclude = ["/releases"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] log = "0.4" env_logger = "0.9" clap = { version = "4.3.0", features = ["derive"] } pcap = { version = "1.1.0", features = ["capture-stream"] } libc = { version = "0.2", features = ["extra_traits"] } etherparse = "0.13" tokio = { version = "1.0", features = ["net", "rt", "macros", "rt-multi-thread", "time"] } futures = "0.3" anyhow = { version = "1.0", features = ["backtrace"] } color-print = "0.3" hmac = { version = "0.12", optional = true } blake2 = { version = "0.10", optional = true } base16ct = { version = "0.2", optional = true } [dev-dependencies] timeout-readwrite = "0.3" ctor = "0.2" [features] default = ["privacy"] privacy = ["dep:hmac", "dep:blake2", "dep:base16ct"] immediate_mode = [] [package.metadata.cross.target.x86_64-unknown-linux-musl] image.name = "alpine:edge" image.toolchain = ["x86_64-unknown-linux-musl"] pre-build = ["apk add --no-cache gcc musl-dev libpcap-dev"]