Cargo Features

[dependencies]
eu4save = { version = "0.8.2", default-features = false, features = ["miniz", "libdeflate", "serialize"] }
default = miniz

The miniz feature is set by default whenever eu4save is added without default-features = false somewhere in the dependency tree.

miniz default = miniz_oxide
libdeflate

Enables freestanding of libdeflater ^0.11

libdeflater:

Builds libdeflate in a freestanding mode (no reliance on libc).
This is useful for targets that don't have a C stdlib (e.g. wasm32-unknown-unknown).

serialize

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.

libdeflater libdeflate?

Enables libdeflater ^0.11

miniz_oxide miniz

Enables miniz_oxide ^0.6