[package]
name = "tokio-serial"
version = "3.1.0"
authors = ["Zac Berkowitz <zac.berkowitz@gmail.com>"]
description = "A serial port implementation for tokio"
license = "MIT"
homepage = "https://github.com/berkowski/tokio-serial"
repository = "https://github.com/berkowski/tokio-serial"
documentation = "http://docs.rs/tokio-serial"
readme = "README.md"
keywords = ["rs232", "serial", "tokio"]
categories = ["asynchronous", "hardware-support"]

[badges]
appveyor = { repository = "berkowski/tokio-serial", service = "github" }
travis-ci = { repository = "berkowski/tokio-serial", service = "github" }

[features]
default = ["libudev"]
libudev = ["mio-serial/libudev"]

[dependencies]
futures = "0.1"
tokio-io = "0.1"
tokio-reactor = "0.1"
bytes = "0.4"
mio = "0.6"
mio-serial = "=3.1"

[dev-dependencies]
tokio = "0.1"

[package]
name = "tokio-serial"
version = "3.1.0"
authors = ["Zac Berkowitz <zac.berkowitz@gmail.com>"]
description = "A serial port implementation for tokio"
license = "MIT"
homepage = "https://github.com/berkowski/tokio-serial"
repository = "https://github.com/berkowski/tokio-serial"
documentation = "http://docs.rs/tokio-serial"
readme = "README.md"
keywords = ["rs232", "serial", "tokio"]
categories = ["asynchronous", "hardware-support"]

[badges]
appveyor = { repository = "berkowski/tokio-serial", service = "github" }
travis-ci = { repository = "berkowski/tokio-serial", service = "github" }

[features]
default = ["libudev"]
libudev = ["mio-serial/libudev"]

[dependencies]
futures = "0.1"
tokio-io = "0.1"
tokio-reactor = "0.1"
bytes = "0.4"
mio = "0.6"
mio-serial = { version = "=3.1", default-features = false }

[dev-dependencies]
tokio = "0.1"

Fix feature flag to not mandatory require libudev
Fix feature flag to not mandatory require libudev

Before, the mio-serial/default feature wasn't turned off even if the default
feature of the tokio-serial was off. We need to deselect the mio-serial/default
explicitly, and turn it on by the default of the tokio-serial.
