Cargo Features

[dependencies]
ckb-script = { version = "0.120.0-rc2", default-features = false, features = ["asm", "detect-asm", "logging", "flatmemory"] }
default = detect-asm, logging

These default features are set whenever ckb-script is added without default-features = false somewhere in the dependency tree.

asm

Enables asm of ckb-vm

ckb-vm:

Require asm feature, generates an error if asm cannot be enabled.

detect-asm default

Enables detect-asm of ckb-vm

ckb-vm:

Detect if requirements are met, and enable asm feature when we can.

logging default = ckb-logger
flatmemory

Affects types::CoreMachine

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-logger logging