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
somewhere in the dependency tree.default-features = false - 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.