Use in CKB Scripts
When Molecule Rust library is used in CKB ScriptsA Script in Nervos CKB is a binary executable on the CKB-VM., no-std
needs to be specified.
molecule = { version = "0.7", default-features = false }
Particularly, for versions later than 0.8, you need to additionally specify bytes_vec
:
molecule = { version = "0.8.0", default-features = false, features = ["bytes_vec"] }