25 lines
873 B
TOML
25 lines
873 B
TOML
[package]
|
|
name = "mac_address"
|
|
version = "1.1.8"
|
|
authors = ["rep-nop <repnop@outlook.com>"]
|
|
edition = "2018"
|
|
description = "Cross-platform retrieval of a network interface MAC address."
|
|
repository = "https://github.com/rep-nop/mac_address"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
exclude = ["/.github/"]
|
|
keywords = ["mac", "address", "network", "interface"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.198", features = ["derive"], optional = true }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", target_os = "android", target_os = "illumos"))'.dependencies]
|
|
nix = { version = "0.29", features = ["net"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winerror", "ws2def", "iphlpapi"] }
|
|
|
|
[dev-dependencies]
|
|
serde_test = "1.0.117"
|
|
serde_json = "1.0.59"
|