Cargo Features
[dependencies]
scrypto-bindgen = { version = "1.3.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverscrypto-bindgen
is added without
somewhere in the dependency tree.default-features = false - 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
andalloc
features is not supported yet.
scrypto-bindgen has 3 features without comments.