Cargo Features

BPX has no features set by default.

[dependencies]
bpx = { version = "4.0.0-rc.11.0.1", features = ["debug-log", "package", "shader", "sd", "sd-formatting", "strings", "table", "buf", "serde"] }
debug-log

Enables debug output of compression routines.

package = sd, table

Enables decoding and encoding of BPXP.

Affects bpx::package

shader = sd, table

Enables decoding and encoding of BPXS.

Affects bpx::shader

sd package? sd-formatting? shader?

Enables BPXSD.

Affects bpx::sd

sd-formatting = sd

Enables formatting BPXSD objects.

Affects sd::formatting

strings table? = elsa

Enables string helpers.

Affects bpx::strings

table package? shader? = once_cell, strings

Enable named table helpers.

Affects bpx::table

buf

Affects bpx::buf

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

Affects sd::serde

elsa strings?
once_cell table?