Cargo Features

[dependencies]
ckb-dyn-lock = { version = "0.1.10", default-features = false, features = ["lock_binary", "test_tool", "dynamic_loading"] }
default = dynamic_loading

The dynamic_loading feature is set by default whenever ckb-dyn-lock is added without default-features = false somewhere in the dependency tree.

lock_binary = includedir, includedir_codegen, phf

Affects locks::binary

test_tool = ckb-tool, sha3

Affects ckb-dyn-lock::test_tool

dynamic_loading default = ckb-std

Affects ckb-dyn-lock::dynamic_loading

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-std dynamic_loading

Enables ckb-std ^0.7

includedir lock_binary?
phf lock_binary?

Enables phf ^0.8

sha3 test_tool?

Enables sha3 ^0.8

ckb-tool test_tool?

Enables ckb-tool ^0.2

includedir_codegen build lock_binary?