Cargo Features

[dependencies]
mc-repack-core = { version = "0.27.1", default-features = false, features = ["png", "toml", "ogg", "nbt", "jar", "nbt-zopfli", "png-zopfli", "zip-zopfli", "all-zopfli", "serde-cfg"] }
default = jar, nbt, ogg, png, serde-cfg, toml

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

png default png-zopfli?

Enables oxipng

toml default

Enables toml

ogg default

Enables optivorbis

nbt default nbt-zopfli?
jar default
nbt-zopfli all-zopfli? = _any-zopfli, nbt

Enables zopfli

Affects nbt::NBTConfig.use_zopfli

png-zopfli all-zopfli? = _any-zopfli, png

Enables zopfli of oxipng

zip-zopfli all-zopfli? = _any-zopfli

Enables zopfli, deflate-zopfli of zip

Affects jar::JARConfig.use_zopfli

all-zopfli = nbt-zopfli, png-zopfli, zip-zopfli
serde-cfg default

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

_any-zopfli nbt-zopfli? png-zopfli? zip-zopfli?

Affects cfg::CfgZopfli