Cargo Features

[dependencies]
ckb-gen-types = { version = "0.119.0", default-features = false, features = ["calc-hash", "check-data", "serialized-size", "std"] }
default = std

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

calc-hash serialized-size?

Enable the calc-hash extension for CKB contract development in no-std env

Enables ckb-contract of ckb-hash

check-data

Enable the check-data extension for CKB contract development in no-std env

serialized-size = calc-hash

Enable the serialized-size extension for CKB contract development in no-std env

std default = ckb-error, ckb-fixed-hash, ckb-occupied-capacity, numext-fixed-uint

Enable all in std env

Enables ckb-hash, std of molecule

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ckb-hash calc-hash? std
ckb-fixed-hash std
ckb-error std
ckb-occupied-capacity std
numext-fixed-uint std