1[package]
2name = "udev"
3version = "0.7.0"
4authors = ["David Cuddeback <david.cuddeback@gmail.com>", "Victoria Brekenfeld <github@drakulix.de>"]
5description = "libudev bindings for Rust"
6license = "MIT"
7homepage = "https://github.com/Smithay/udev-rs"
8repository = "https://github.com/Smithay/udev-rs"
9documentation = "http://docs.rs/udev/"
10keywords = ["udev", "hardware", "bindings", "sysfs"]
11readme = "README.md"
12
13[dependencies]
14libudev-sys = "0.1.4"
15libc = "0.2"
16mio06 = { package = "mio", version = "^0.6.21", optional = true }
17mio07 = { package = "mio", version = "0.7", features = ["os-ext"], optional = true }
18mio08 = { package = "mio", version = "0.8", features = ["os-ext"], optional = true }
19
20[build-dependencies]
21pkg-config = "0.3.3" #force a newer version for libudev-sys to fix minimal versions
22
23[features]
24mio = ["mio08"] # mio feature defaults to the newest mio version
25hwdb = []
26