[package]
name = "edgedns"
version = "0.2.0"
authors = ["Frank Denis <github@pureftpd.org>"]

[features]
webservice = ["hyper"]

default = ["webservice"]

[dependencies]
env_logger = "*"
log = "*"
rand = "*"
rustc-serialize = "*"
siphasher = "*"
slab = "~0.3.0"
toml = "*"

hyper = {version="*", optional = true, default-features = false, features = ["nightly"]}
clippy = {version = "*", optional = true}

[dependencies.clockpro-cache]
git = "https://github.com/jedisct1/rust-clockpro-cache.git"

[dependencies.bytes]
git = "https://github.com/carllerche/bytes"
rev = "d05bfb6346e3eb5eebc9f6016c32fede20ba3831"

[dependencies.clap]
git = "https://github.com/kbknapp/clap-rs.git"

[dependencies.mio]
git = "https://github.com/carllerche/mio"

[dependencies.nix]
git = "https://github.com/carllerche/nix-rust.git"

[profile.dev]
codegen-units = 4
panic = "unwind"

[profile.release]
lto = true
panic = "abort"
opt-level = 3

[package]
name = "edgedns"
version = "0.2.0"
authors = ["Frank Denis <github@pureftpd.org>"]

[features]
webservice = ["hyper"]

default = ["webservice"]

[dependencies]
env_logger = "*"
log = {version = "*", features = ["nightly"]}
rand = "*"
rustc-serialize = "*"
siphasher = "*"
slab = "~0.3.0"
toml = "*"

hyper = {version="*", optional = true, default-features = false, features = ["nightly"]}
clippy = {version = "*", optional = true}

[dependencies.clockpro-cache]
git = "https://github.com/jedisct1/rust-clockpro-cache.git"

[dependencies.bytes]
git = "https://github.com/carllerche/bytes"
rev = "d05bfb6346e3eb5eebc9f6016c32fede20ba3831"

[dependencies.clap]
git = "https://github.com/kbknapp/clap-rs.git"
features = ["nightly"]

[dependencies.mio]
git = "https://github.com/carllerche/mio"

[dependencies.nix]
git = "https://github.com/carllerche/nix-rust.git"

[profile.dev]
codegen-units = 4
panic = "unwind"

[profile.release]
lto = true
panic = "abort"
opt-level = 3

Enable the nightly feature with log and clap
Enable the nightly feature with log and clap
