Cargo Features

[dependencies]
binary-io = { version = "0.1.0", default-features = false, features = ["nbt", "shade", "random_uuid", "uuid_v1", "crypto_shade", "serde"] }
default = nbt

The nbt feature is set by default whenever binary-io is added without default-features = false somewhere in the dependency tree.

nbt default shade?

Affects binary-io::nbt

shade crypto_shade? = nbt

Affects binary-io::shade

random_uuid = rand
uuid_v1 = rand, uuid

Enables v1 of uuid ^0.8.2

uuid:

NOTE: When adding new features, check the ci.yml workflow and include them where necessary (you can follow along with existing features)

crypto_shade = cryptostream, openssl, shade, zeroize

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.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

rand random_uuid? uuid_v1?
uuid uuid_v1?

Enables uuid ^0.8.2

cryptostream crypto_shade?
openssl crypto_shade?
zeroize crypto_shade?