Cargo Features

chd-capi has no features set by default.

[dependencies]
chd-capi = { version = "0.3.0", features = ["chd_core_file", "chd_virtio", "chd_precache", "verify_block_crc"] }
chd_core_file chd_virtio? = bindgen, cmake

Affects chd-capi::chd_core_file, chd-capi::chd_open_file

chd_virtio = chd_core_file

Affects chd-capi::chd_open_core_file

chd_precache

Affects chd-capi::PRECACHE_CHUNK_SIZE, chd-capi::chd_precache_progress, chd-capi::chd_precache

verify_block_crc

Enables verify_block_crc of chd

chd:

disabled by default for speed

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.

bindgen build chd_core_file?

Enables bindgen ^0.60.1

cmake build chd_core_file?