# 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-datalink" version = "0.5.0" authors = ["shellrow "] description = "Provides cross-platform datalink layer networking. Part of xenet project." readme = "README.md" keywords = ["network"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/xenet" [dependencies.default-net] version = "0.21.0" optional = true [dependencies.libc] version = "0.2" [dependencies.pcap] version = "1.1.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.xenet-core] version = "0.5.0" [dependencies.xenet-sys] version = "0.5.0" [features] default = ["dep:default-net"] pcap = ["dep:pcap"] serde = [ "dep:serde", "default-net/serde", ] [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", ]