[package]
name = "libstratis"
version = "1.0.3"
authors = ["Stratis Developers <stratis-devel@lists.fedorahosted.com>"]

[dependencies]
dbus = {version = "0.6.4", optional = true}
clap = "2"
nix = "0.13"
devicemapper = "0.27.0"
crc = "1"
byteorder = "1"
chrono = "0.4"
rand = "0.4"
serde = "1"
serde_derive = "1"
serde_json = "1"
tempfile = "3.0.1"
log = "0.4"
env_logger="0.5"
libc = "0.2.47"
libmount = "0.1.10"
error-chain = "0.12"
libudev = "0.2.0"
lazy_static = "1.0.0"
timerfd = "1.0.0"

[dependencies.uuid]
version = "0.7"
features = ["serde", "v4"]

[dev-dependencies]
loopdev = "0.2"
either = "1.1.0"
proptest = "0.8.0"
matches = "0.1.8"

[features]
default = ["dbus_enabled"]
dbus_enabled = ["dbus"]

[package]
name = "libstratis"
version = "1.0.3"
authors = ["Stratis Developers <stratis-devel@lists.fedorahosted.com>"]

[dependencies]
dbus = {version = "0.6.4", optional = true}
clap = "2"
nix = "0.13"
devicemapper = "0.27.0"
crc = "1"
byteorder = "1"
chrono = "0.4"
rand = "0.4"
serde = "1"
serde_derive = "1"
serde_json = "1"
tempfile = "3.0.1"
log = "0.4"
env_logger="0.5"
libc = "0.2.47"
libmount = "0.1.10"
libudev = "0.2.0"
lazy_static = "1.0.0"
timerfd = "1.0.0"

[dependencies.uuid]
version = "0.7"
features = ["serde", "v4"]

[dev-dependencies]
error-chain = "0.12"
loopdev = "0.2"
either = "1.1.0"
proptest = "0.8.0"
matches = "0.1.8"

[features]
default = ["dbus_enabled"]
dbus_enabled = ["dbus"]

Make error-chain a dev dependency
Make error-chain a dev dependency

It has never been anything else. It was included as a regular dependency
in error.

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>
