# 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 = "nex" version = "0.18.0" authors = ["shellrow "] description = "Cross-platform networking library in Rust" readme = "README.md" keywords = [ "network", "packet", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/nex" [[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"] [[example]] name = "tcp_stream" path = "examples/tcp_stream.rs" [[example]] name = "async_tcp_connect" path = "examples/async_tcp_connect.rs" [[example]] name = "async_tcp_stream" path = "examples/async_tcp_stream.rs" [[example]] name = "tls_stream" path = "examples/tls_stream.rs" required-features = ["tls"] [dependencies.nex-core] version = "0.18.0" [dependencies.nex-datalink] version = "0.18.0" [dependencies.nex-packet] version = "0.18.0" [dependencies.nex-packet-builder] version = "0.18.0" [dependencies.nex-socket] version = "0.18.0" [dev-dependencies.async-io] version = "2.3" [dev-dependencies.futures] version = "0.3" [dev-dependencies.serde_json] version = "1.0" [features] pcap = ["nex-datalink/pcap"] serde = [ "nex-core/serde", "nex-packet/serde", "nex-datalink/serde", ] tls = ["nex-socket/tls"]