# 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 = "pnet_datalink" version = "0.33.0" authors = [ "Robert Clipsham ", "Linus Färnstrand ", ] description = "Cross-platform, datalink layer networking." homepage = "https://github.com/libpnet/libpnet" readme = "README.md" keywords = [ "networking", "datalink", "ethernet", "raw", ] categories = ["network-programming"] license = "MIT/Apache-2.0" repository = "https://github.com/libpnet/libpnet" [package.metadata.docs.rs] features = ["serde"] [dependencies.ipnetwork] version = "0.20.0" [dependencies.libc] version = "0.2.139" [dependencies.netmap_sys] version = "0.1.4" features = ["netmap_with_libs"] optional = true [dependencies.pcap] version = "1.0.0" optional = true [dependencies.pnet_base] version = "0.33.0" default-features = false [dependencies.pnet_sys] version = "0.33.0" [dependencies.serde] version = "1.0.152" features = ["derive"] optional = true default-features = false [features] default = ["std"] netmap = [] std = ["pnet_base/std"] [target."cfg(windows)".dependencies.winapi] version = "0.3.9"