Cargo Features

[dependencies]
radix-engine-interface = { version = "1.2.0-dev", default-features = false, features = ["std", "alloc", "fuzzing"] }
default = std

You should enable either std or alloc

std default

Enables std of hex, radix-blueprint-schema-init, radix-common, radix-common-derive, radix-rust, sbor, optional serde, serde_json, and strum ^0.24

sbor:

preserve_order requires std

alloc

Enables alloc of hex, radix-blueprint-schema-init, radix-common, radix-common-derive, radix-rust, sbor, optional serde, and serde_json

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.

fuzzing = arbitrary

This flag is set by fuzz-tests framework and it is used to disable/enable some optional features to let fuzzing work

Enables serde, fuzzing of radix-common, radix-rust, and sbor

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.

arbitrary fuzzing?