Cargo Features

[dependencies]
rune-core = { version = "0.13.4", default-features = false, features = ["std", "alloc", "doc", "musli"] }
default = alloc

The alloc feature is set by default whenever rune-core is added without default-features = false somewhere in the dependency tree.

std = alloc

Enables std of rune-alloc

alloc default std?

Enables alloc of rune-alloc and serde

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

Affects to_type_hash::ToTypeHash.to_item, into_component::IntoComponent.into_component, into_component::IntoComponent.write_component

doc

Affects protocol::Protocol.repr, protocol::Protocol.doc

Features from optional dependencies

musli implicit feature

Enables musli ^0.0.42

musli:

Müsli is a flexible and generic binary serialization framework