-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathCargo.toml
38 lines (32 loc) · 1.09 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "local-ip-address"
description = "Retrieve system's local IP address and Network Interfaces/Adapters on Linux, macOS and Windows."
repository = "https://github.com/EstebanBorai/local-ip-address"
categories = ["web-programming", "network-programming"]
homepage = "https://github.com/EstebanBorai/local-ip-address"
keywords = ["local", "ip", "address", "web", "network"]
license = "MIT OR Apache-2.0"
version = "0.6.3"
authors = ["Esteban Borai <[email protected]>"]
edition = "2021"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror = "1"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
neli = "0.6"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59.0"
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",
"Win32_System_Diagnostics_Debug",
"Win32_System_Memory",
]
[[example]]
name = "example"
path = "examples/show_ip_and_ifs.rs"