[package] name = "mac_address2" version = "2.0.2" authors = [ "rep-nop ", "Berrysoft ", ] edition = "2021" description = "Cross-platform retrieval of a network interface MAC address." repository = "https://github.com/Berrysoft/mac_address" readme = "README.md" license = "MIT OR Apache-2.0" exclude = ["/.github/"] keywords = ["mac", "address", "network", "interface"] [dependencies] thiserror = "1" serde = { version = "1", features = ["derive"], optional = true } [target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "android"))'.dependencies] nix = { version = "0.28", features = ["net"] } [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.52", features = [ "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock", ] } widestring = "1" [dev-dependencies] serde_test = "1" serde_json = "1"