aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: af7ed2c49f32e4f63496cce2e382ca264cf01070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
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"
byteorder = "1.3.2"
failure = "0.1"
either = "1.5"

bytes = { version = "0.5" }
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 }
tokio-tls = { version = "0.3", optional = true }
native-tls = { version = "0.2", optional = true }
futures-util = { version = "0.3", features = ["std"], optional = true }
futures = { version = "0.3", optional = true }
pretty_env_logger = { version = "0.4", optional = true }

[features]
framing = ["tokio", "tokio-util", "flate2"]
client = ["tokio", "tokio-util", "tokio-tls", "native-tls", "futures", "futures-util", "framing", "pretty_env_logger"]

default = []

[dev-dependencies]
futures = { version = "0.3" }
flate2 = { version = "1.0", features = ["tokio"] }
tokio = { version = "0.2", features = ["full"] }
tokio-util = { version = "0.2", features = ["codec"] }
tokio-test = { version = "0.2" }

[[bin]]
name = "quassel-client"
required-features = ["client"]