-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
29 lines (24 loc) · 946 Bytes
/
Cargo.toml
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
[package]
name = "zlib_stream"
description = "An utility to decompress zlib-stream encoded WebSocket messages"
version = "0.1.0"
edition = "2018"
authors = ["Alexander Becker <[email protected]>"]
keywords = ["encoding", "gzip", "deflate", "zlib"]
categories = ["compression", "accessibility"]
license = "Apache-2.0"
repository = "https://github.com/ZeroTwo-Bot/zlib-stream-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4.14"
env_logger = "0.9.0"
thiserror = "1.0.28"
flate2 = { version = "1.0", features = ["cloudflare_zlib"], default-features = false }
futures-util = { version = "0.3.17", optional = true }
tokio = { version = "^1", features = ["rt-multi-thread"], optional = true }
[dev-dependencies]
tokio = { version = "1.14.0", features = ["rt", "macros"] }
[features]
default = ["stream"]
tokio-runtime = ["stream", "tokio"]
stream = ["futures-util"]