Cargo Features
[dependencies]
radix-sbor-derive = { version = "1.2.0", default-features = false, features = ["std", "alloc", "trace"] }
- default = std
-
Currently, dependencies of procedural macros are imported to host crates. This may accidentally enable unwanted features of host dependencies, i.e.
serde
,serde_json
,sbor
andscrypto-abi
.To work around with it, we've added features
std
andalloc
forscrypto-derive
, even though it only works understd
environment.See:
- std default
- alloc
- trace
-
Enable trace
Enables trace of sbor-derive-common