aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: d8aae350f1d42b240f9e89d31f8ec2d0c1059901 (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
[package]
name = "mcproto-rs"
version = "0.2.0"
authors = ["Joey Sacchini <joey@sacchini.net>"]
edition = "2018"
license = "Apache-2.0"
keywords = ["minecraft", "games", "protocol", "serialziers", "deserializers", "packets", "mc"]

[dependencies]
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
base64 = { version = "0.12.3", default-features = false, features = ["alloc"] }
rand = { version = "0.7", optional = true }

[dependencies.serde]
version = "1.0.116"
features = [ "derive", "alloc" ]
default-features = false

[dev-dependencies]
flate2 = "1.0.17"

[features]
default = [ "std", "bench", "v1_15_2", "v1_16_3" ]

std = [ "rand" ]
bench = []

v1_15_2 = []
v1_16_3 = []