[package] name = "chd-capi" version = "0.3.0" edition = "2021" authors = ["Ronny Chan "] description = "libchdr-compatible C API for a Rust implementation of the CHD File Format" license = "BSD-3-Clause" repository = "https://github.com/SnowflakePowered/chd-rs" readme = "README.md" categories = ["emulators", "compression", "encoding"] keywords = ["mame", "chd", "decompression"] [lib] crate-type = ["staticlib"] [features] default = [] chd_core_file = ["bindgen", "cmake"] chd_virtio = ["chd_core_file"] chd_precache = [] verify_block_crc = ["chd/verify_block_crc"] [dependencies] chd = { version = "0.3", git = "https://github.com/SnowflakePowered/chd-rs" } [build-dependencies] cbindgen = "0.24.3" bindgen = { version = "0.60.1", optional = true } cmake = { version = "0.1.48", optional = true } [package.metadata.docs.rs] features = ["default", "chd_core_file", "chd_virtio", "chd_precache"] rustdoc-args = ["--cfg", "docsrs"]