# 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 = "cross-socket" version = "0.8.0" authors = ["shellrow "] description = "cross-socket is a cross-platform library designed for working with RawSocket" readme = "README.md" keywords = [ "network", "packet", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/cross-socket" [[example]] name = "icmp" path = "examples/socket/icmp.rs" [[example]] name = "tcp" path = "examples/socket/tcp.rs" [[example]] name = "udp" path = "examples/socket/udp.rs" [[example]] name = "async_icmp" path = "examples/async_socket/async_icmp.rs" [[example]] name = "arp" path = "examples/datalink_socket/arp.rs" [[example]] name = "icmp_ping" path = "examples/datalink_socket/icmp_ping.rs" [[example]] name = "icmp_build" path = "examples/datalink_socket/icmp_build.rs" [[example]] name = "icmpv6_build" path = "examples/datalink_socket/icmpv6_build.rs" [[example]] name = "tcp_ping" path = "examples/datalink_socket/tcp_ping.rs" [[example]] name = "tcp_build" path = "examples/datalink_socket/tcp_build.rs" [[example]] name = "udp_ping" path = "examples/datalink_socket/udp_ping.rs" [[example]] name = "dump" path = "examples/pcap/dump.rs" [[example]] name = "handle" path = "examples/pcap/handle.rs" [[example]] name = "store" path = "examples/pcap/store.rs" [[example]] name = "resolve_deps" path = "examples/deps/resolve_deps.rs" required-features = ["setup"] [dependencies.async-io] version = "1.13" [dependencies.chrono] version = "0.4" [dependencies.cross-socket-deps] version = "0.8.0" optional = true [dependencies.default-net] version = "0.18" [dependencies.pnet] version = "0.34" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.socket2] version = "0.5" features = ["all"] [dev-dependencies.futures] version = "0.3" features = [ "executor", "thread-pool", ] [dev-dependencies.futures-lite] version = "1.13" [dev-dependencies.ipnet] version = "2.7" [features] setup = ["cross-socket-deps"] [target."cfg(windows)".dependencies.windows-sys] version = "0.48.0" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO", "Win32_System_Threading", "Win32_System_WindowsProgramming", ]