[package] name = "ethrecv" version = "0.0.1" edition = "2021" license = "0BSD" categories = [ "network-programming" ] keywords = [ "ethernet", "packets", "raw", "network", "receive" ] repository = "https://repos.qrnch.tech/pub/ethrecv" description = "Receive ethernet packets at a high rate." rust-version = "1.56" exclude = [ ".fossil-settings", ".efiles", ".fslckout", "www", "build.ps1", "build.sh", "rustfmt.toml" ] [features] idle = ["dep:atomic-time", "dep:parking_lot"] inspect = [] [dependencies] atomic-time = { version = "0.1.4", optional = true } parking_lot = { version = "0.12.1", optional = true } pcap = { version = "1.2.0" } [target.'cfg(unix)'.dependencies] mio = { version = "0.8.11", features = ["os-poll", "os-ext"] } parking_lot = { version = "0.12.1" } [target.'cfg(windows)'.dependencies] bitflags = { version = "2.4.2" } # Match the same version as pcap uses windows-sys = { version = "0.36.1", features = [ "Win32_Foundation", "Win32_System_Threading" ] } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]