Cargo Features

[dependencies]
drax = { version = "0.1.1", default-features = false, features = ["serde", "macros", "nbt", "tcp-shield", "slices", "context", "test"] }
default = macros, serde, slices, uuid

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

serde default test? = serde_json

Enables serde

Affects drax::delegate.serde_json

macros default
nbt test? = cesu8

Affects error::NbtError, drax::delegate.nbt

tcp-shield
slices default test?

Affects vec::SliceU8

context test?

Affects transport::context

test = context, nbt, serde, serde_derive, slices, uuid

Enables tokio-test, macros and rt of tokio and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

and v4 of uuid

Extended traits

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.

uuid default test?
cesu8 nbt?

Enables cesu8

NBT

serde_derive test?
serde_json serde