Cargo Features

[dependencies]
mcproto-rs = { version = "0.2.0", default-features = false, features = ["std", "gat", "v1_15_2", "v1_16_3", "bench"] }
default = bench, std, v1_15_2, v1_16_3

These default features are set whenever mcproto-rs is added without default-features = false somewhere in the dependency tree.

std default = rand
gat

Affects protocol::PacketKind.with_body_data

v1_15_2 default

Affects mcproto-rs::v1_15_2

v1_16_3 default

Affects mcproto-rs::v1_16_3

bench default

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand std

Enables rand ^0.7