Cargo Features

zune-core has no features set by default.

[dependencies]
zune-core = { version = "0.5.0-rc2", features = ["std", "log", "serde"] }
std

When present, we can use std facilities to detect if a specific feature exists Not enabled by default. Other zune crates can enable dep:zune-core/std by default. But if we enable it here, they can't disable it anymore. See: https://github.com/rust-lang/cargo/issues/8366

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework