aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: ebf7489c8813519cc49329fd25947b64b21df033 (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
[package]
name = "craftio-rs"
version = "0.1.0"
authors = ["Joey Sacchini <joey@sacchini.net>"]
edition = "2018"
license = "APACHE 2.0"

[dependencies]
mcproto-rs = { git = "https://github.com/Twister915/mcproto-rs", branch = "master", features = ["std"], default-features = false }
aes = { version = "0.6", optional = true }
flate2 = { version = "1.0", features = ["zlib"], optional = true }

thiserror = "1.0"

futures = { version = "0.3", optional = true }
async-trait = { version = "0.1", optional = true }
tokio = { version = "1.0", features = ["net", "io-util"], optional = true }

[features]
default = [ "compression", "encryption", "tokio-io" ]

futures-io = ["futures", "async-trait"]
tokio-io = ["tokio", "async-trait"]
encryption = ["aes"]
compression = [ "flate2" ]
backtrace = []
gat = ["mcproto-rs/gat"]