diff options
| author | Max Audron <audron@cocaine.farm> | 2020-01-23 15:58:24 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2020-01-23 15:58:24 +0100 |
| commit | c629ed492341673109b8ed2e01b96300c8d0b65f (patch) | |
| tree | e0a82cca1fee5b0afe308838afe73299f74c93a9 /Cargo.toml | |
| parent | update (diff) | |
sort features
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -3,22 +3,28 @@ name = "libquassel" version = "0.1.0" authors = ["Max Audron <audron@cocaine.farm>"] edition = "2018" +autobins = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] log = "0.4" -bytes = "0.5" byteorder = "1.3.2" +failure = "0.1" + +bytes = { version = "0.5", optional = true } flate2 = { version = "1.0", features = ["tokio"], optional = true } tokio = { version = "0.2", features = ["full"], optional = true } tokio-util = { version = "0.2", features = ["codec"], optional = true } -failure = "0.1" -futures-util = { version = "0.3", features = ["std"] } -futures = "0.3" +futures-util = { version = "0.3", features = ["std"], optional = true } +futures = { version = "0.3", optional = true } [features] -framing = ["tokio", "tokio-util", "flate2"] -client = ["tokio", "tokio-util", "framing", "futures-util"] +framing = ["tokio", "tokio-util", "flate2", "bytes"] +client = ["tokio", "tokio-util", "futures", "futures-util", "framing"] default = [] + +[[bin]] +name = "quassel-client" +required-features = ["client"] |
