Cargo Features

[dependencies]
scrypto = { version = "1.2.0", default-features = false, features = ["std", "alloc", "trace", "no-schema", "log-debug", "log-trace", "coverage", "serde"] }
default = std

You should enable either std or alloc

std default

Enables std of hex, radix-blueprint-schema-init, radix-common, radix-engine-interface, radix-rust, sbor, scrypto-derive, and strum ^0.24

sbor:

preserve_order requires std

alloc

Enables alloc of hex, radix-blueprint-schema-init, radix-common, radix-engine-interface, radix-rust, sbor, and scrypto-derive

trace

Turn on this feature to enable tracing.

Enables trace of scrypto-derive

no-schema

Disable schema gen in the output WASM.

Enables no-schema of scrypto-derive

log-error log-warn log-info log-debug
log-trace
coverage = minicov

Feature to generate code coverage for WASM

Affects scrypto::dump_coverage

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.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

minicov coverage?