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