Cargo Features

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

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

std default

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

alloc

Enables alloc and lru of radix-engine, alloc of radix-blueprint-schema-init and radix-common 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.

scrypto-bindgen has 3 features without comments.