[package] name = "xenet" version = "0.5.0" edition = "2021" authors = ["shellrow "] description = "Cross-platform networking library for Rust." repository = "https://github.com/shellrow/xenet" readme = "../README.md" keywords = ["network", "packet"] categories = ["network-programming"] license = "MIT" [dependencies] xenet-core = { path = "../xenet-core", version = "0.5.0" } xenet-sys = { path = "../xenet-sys", version = "0.5.0" } xenet-macro = { path = "../xenet-macro", version = "0.5.0" } xenet-macro-helper = { path = "../xenet-macro-helper", version = "0.5.0" } xenet-packet = { path = "../xenet-packet", version = "0.5.0" } xenet-datalink = { path = "../xenet-datalink", version = "0.5.0" } xenet-socket = { path = "../xenet-socket", version = "0.5.0" } xenet-packet-builder = { path = "../xenet-packet-builder", version = "0.5.0" } [dev-dependencies] serde_json = "1.0" [features] pcap = ["xenet-datalink/pcap"] serde = ["xenet-core/serde", "xenet-packet/serde", "xenet-datalink/serde"] [[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"]