# 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 = "xenet" version = "0.5.0" authors = ["shellrow "] description = "Cross-platform networking library for Rust." readme = "README.md" keywords = [ "network", "packet", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/xenet" [[example]] name = "dump" path = "../examples/dump.rs" [[example]] name = "arp" path = "../examples/arp.rs" [[example]] name = "ndp" path = "../examples/ndp.rs" [[example]] name = "parse_frame" path = "../examples/parse_frame.rs" [[example]] name = "icmp_ping" path = "../examples/icmp_ping.rs" [[example]] name = "tcp_ping" path = "../examples/tcp_ping.rs" [[example]] name = "udp_ping" path = "../examples/udp_ping.rs" [[example]] name = "list_interfaces" path = "../examples/list_interfaces.rs" [[example]] name = "serialize" path = "../examples/serialize.rs" required-features = ["serde"] [dependencies.xenet-core] version = "0.5.0" [dependencies.xenet-datalink] version = "0.5.0" [dependencies.xenet-macro] version = "0.5.0" [dependencies.xenet-macro-helper] version = "0.5.0" [dependencies.xenet-packet] version = "0.5.0" [dependencies.xenet-packet-builder] version = "0.5.0" [dependencies.xenet-socket] version = "0.5.0" [dependencies.xenet-sys] version = "0.5.0" [dev-dependencies.serde_json] version = "1.0" [features] pcap = ["xenet-datalink/pcap"] serde = [ "xenet-core/serde", "xenet-packet/serde", "xenet-datalink/serde", ]