Cargo Features

[dependencies]
scrypto-compiler = { version = "1.2.0", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever scrypto-compiler is added without default-features = false somewhere in the dependency tree.

std default

Enables std of radix-common, moka and std of radix-engine, std of radix-engine-interface, radix-rust, and serde_json

alloc

Enables alloc of radix-common, alloc and lru of radix-engine and alloc of radix-engine-interface, radix-rust, and serde_json

serde_json:

Provide integration for heap-allocated collections without depending on the rest of the Rust standard library. NOTE: Disabling both std and alloc features is not supported yet.

ScryptoCompiler has 3 features without comments.