# 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" version = "0.33.0" authors = ["Robert Clipsham "] build = "build.rs" description = "Cross-platform, low level networking using the Rust programming language." homepage = "https://github.com/libpnet/libpnet" readme = "README.md" keywords = [ "networking", "transport", "datalink", "packet", "protocol", ] categories = [ "network-programming", "parser-implementations", ] license = "MIT/Apache-2.0" repository = "https://github.com/libpnet/libpnet" [[example]] name = "arp_packet" required-features = ["std"] [[example]] name = "fanout" required-features = ["std"] [[example]] name = "list_interfaces" required-features = ["std"] [[example]] name = "packetdump" required-features = ["std"] [[example]] name = "transport_echo_server" required-features = ["std"] [[bench]] name = "rs_sender" required-features = ["std"] [[bench]] name = "rs_receiver" required-features = ["std"] [dependencies.ipnetwork] version = "0.20.0" optional = true [dependencies.pnet_base] version = "0.33.0" default-features = false [dependencies.pnet_datalink] version = "0.33.0" optional = true default-features = false [dependencies.pnet_packet] version = "0.33.0" default-features = false [dependencies.pnet_sys] version = "0.33.0" optional = true default-features = false [dependencies.pnet_transport] version = "0.33.0" optional = true default-features = false [dev-dependencies.time] version = "0.3.17" [features] appveyor = [] benchmark = [] default = ["std"] netmap = [ "pnet_datalink/netmap_sys", "pnet_datalink/netmap", ] pcap = ["pnet_datalink/pcap"] serde = [ "pnet_base/serde", "pnet_datalink?/serde", ] std = [ "pnet_base/std", "pnet_sys", "pnet_datalink", "pnet_transport", "ipnetwork", ] travis = []