[package] name = "craftio-rs" version = "0.1.0" authors = ["Joey Sacchini "] edition = "2018" license = "Apache-2.0" keywords = ["minecraft", "games", "io", "async", "futures"] description = "A crate to read & write packets defined in mcproto-rs to I/O sinks/sources" homepage = "https://github.com/Twister915/craftio-rs" repository = "https://github.com/Twister915/craftio-rs" readme = "README.md" [dependencies] mcproto-rs = { version = "0.2.0", 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"]