72 lines
1.7 KiB
TOML
72 lines
1.7 KiB
TOML
# 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 = "2018"
|
|
name = "mac_address"
|
|
version = "1.1.8"
|
|
authors = ["rep-nop <repnop@outlook.com>"]
|
|
build = false
|
|
exclude = ["/.github/"]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Cross-platform retrieval of a network interface MAC address."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"mac",
|
|
"address",
|
|
"network",
|
|
"interface",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rep-nop/mac_address"
|
|
|
|
[lib]
|
|
name = "mac_address"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "iterator"
|
|
path = "examples/iterator.rs"
|
|
|
|
[[example]]
|
|
name = "lookup"
|
|
path = "examples/lookup.rs"
|
|
|
|
[[example]]
|
|
name = "simple"
|
|
path = "examples/simple.rs"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.198"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.59"
|
|
|
|
[dev-dependencies.serde_test]
|
|
version = "1.0.117"
|
|
|
|
[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",
|
|
]
|