[package]
name = "pnet_datalink"
version = "0.21.0"
authors = ["Robert Clipsham <robert@octarineparrot.com>", "Linus Färnstrand <faern@faern.net>"]
license = "MIT/Apache-2.0"
homepage = "https://github.com/libpnet/libpnet"
repository = "https://github.com/libpnet/libpnet"
description = "Cross-platform, datalink layer networking."
keywords = ["networking", "datalink", "ethernet", "raw"]
categories = ["network-programming"]

[features]
netmap = []

[dependencies]
libc = "0.2.41"
ipnetwork = "0.12"
pnet_base = { path = "../pnet_base", version = "0.21.0" }
pnet_sys = { path = "../pnet_sys", version = "0.21.0" }

pcap = { version = "0.6", optional = true }
netmap_sys = { version = ">=0.0", optional = true, features = ["netmap_with_libs"] }

[target.'cfg(windows)'.dependencies]
winapi = "0.2"

[package]
name = "pnet_datalink"
version = "0.21.0"
authors = ["Robert Clipsham <robert@octarineparrot.com>", "Linus Färnstrand <faern@faern.net>"]
license = "MIT/Apache-2.0"
homepage = "https://github.com/libpnet/libpnet"
repository = "https://github.com/libpnet/libpnet"
description = "Cross-platform, datalink layer networking."
keywords = ["networking", "datalink", "ethernet", "raw"]
categories = ["network-programming"]

[features]
netmap = []

[dependencies]
libc = "0.2.42"
ipnetwork = "0.12"
pnet_base = { path = "../pnet_base", version = "0.21.0" }
pnet_sys = { path = "../pnet_sys", version = "0.21.0" }

pcap = { version = "0.6", optional = true }
netmap_sys = { version = ">=0.0", optional = true, features = ["netmap_with_libs"] }

[target.'cfg(windows)'.dependencies]
winapi = "0.2"

Switch to libc 0.2.42 that contains required functions for Android
Switch to libc 0.2.42 that contains required functions for Android
