chdlady 0.2.1

High-level facade API for reading and creating CHD files
# chdlady

Rust library for reading, writing, and manipulating MAME CHD (Compressed Hunks of Data) containers.

This is the main entry point for consuming chdlady as a dependency. It re-exports types and functions from the internal crates (`chdlady-core`, `chdlady-disc`, `chdlady-huffman`, `chdlady-av`) under a single unified API. Supported media types include CD-ROM (CUE, TOC, GDI, CloneCD CCD, Alcohol 120% MDS, Nero NRG), DVD ISO, hard disk images, raw binary dumps, and laserdisc AVI. CHD versions 3, 4, and 5 can be read; version 5 can be written.

All crates in this workspace use `#![deny(unsafe_code)]`.

## Usage

```toml
[dependencies]
chdlady = "0.2"
```

The `default` feature enables everything. To select only what you need:

```toml
[dependencies]
chdlady = { version = "0.2", default-features = false, features = ["cd", "zlib", "lzma"] }
```

## Features

| Feature | Default | Description |
|---|---|---|
| `full` | ✓ | Enables all media types and codecs |
| `cd` | ✓ | CD-ROM creation and extraction (FLAC-based) |
| `dvd` | ✓ | DVD ISO creation and extraction |
| `gdrom` | ✓ | GD-ROM support (implies `cd`) |
| `hd` | ✓ | Hard disk image creation and extraction |
| `ld` | ✓ | Laserdisc creation and extraction |
| `zlib` | ✓ | Deflate codec |
| `lzma` | ✓ | LZMA codec |
| `zstd` | ✓ | Zstandard codec |
| `flac` | ✓ | FLAC codec for CD hunks |
| `rayon` | ✓ | Parallel compression and decompression |

Part of the [chdlady](https://codeberg.org/NeverAnswers/chdlady) workspace.