[dependencies.socket2]
features = ["all"]
version = "0.6.0"
[dev-dependencies.network-interface]
version = "2.0.2"
[lib]
name = "socket_pktinfo"
path = "src/lib.rs"
[package]
authors = ["pixsperdavid <david@pixsper.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming"]
description = "Small library to allow cross-platform handling of IP_PKTINFO and IPV6_PKTINFO with socket2 crate"
documentation = "https://docs.rs/socket-pktinfo"
edition = "2018"
homepage = "https://github.com/pixsper/socket-pktinfo"
keywords = ["sockets", "udp", "ip_pktinfo", "multicast"]
license = "MIT"
name = "socket-pktinfo"
readme = "README.md"
repository = "https://github.com/pixsper/socket-pktinfo"
rust-version = "1.70.0"
version = "0.3.2"
[target."cfg(not(windows))".dependencies.libc]
version = "0.2.174"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO"]
version = "0.60.2"
[[test]]
name = "ipv4_test"
path = "tests/ipv4_test.rs"
[[test]]
name = "ipv6_test"
path = "tests/ipv6_test.rs"