-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
48 lines (40 loc) · 1.04 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
39
40
41
42
43
44
45
46
47
48
[package]
name = "ifcfg"
version = "0.1.2"
authors = ["Marirs <marirs@gmail.com>", "Kamran Amini <kam.cpp@gmail.com>"]
description = "Get network interfaces information"
keywords = ["network", "interfaces", "ifconfig", "ifcfg", "iface"]
readme = "README.md"
homepage = "https://github.com/marirs/ifcfg-rs"
repository = "https://github.com/marirs/ifcfg-rs"
license = "MIT/Apache-2.0"
build = "build.rs"
edition = "2018"
[dependencies]
libc = "0.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[target.'cfg(unix)'.dependencies]
bitflags = "1"
lazy_static = "1"
nix = "0.20.0"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = [ "minwindef", "winerror", "ws2def", "ws2ipdef", "iptypes" ] }
[target.'cfg(unix)'.build-dependencies]
cc = "1"
handlebars = "0.29"
serde = "1"
serde_derive = "1"
[lib]
name = "ifcfg"
path = "src/lib.rs"
[badges]
travis-ci = { repository = "marirs/ifcfg-rs" }
[profile.dev]
opt-level = 3
[profile.release]
codegen-units = 1
debug-assertions = false
debug = false
opt-level = 3
lto = true