# 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-datalink" version = "0.18.0" authors = ["shellrow "] description = "Provides cross-platform datalink layer networking. Part of nex project." readme = "README.md" keywords = ["network"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/nex" [dependencies.libc] version = "0.2" [dependencies.netdev] version = "0.30" [dependencies.nex-core] version = "0.18.0" [dependencies.nex-sys] version = "0.18.0" [dependencies.pcap] version = "2.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [features] pcap = ["dep:pcap"] serde = [ "dep:serde", "netdev/serde", ] [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO", "Win32_System_Threading", "Win32_System_WindowsProgramming", ]