21 releases (13 breaking)

new 0.14.0 Feb 13, 2026
0.12.1 Nov 8, 2025
0.11.0 Jul 27, 2025
0.10.0 Apr 15, 2024
0.1.0 Mar 20, 2017

#99 in Filesystem

Download history 316268/week @ 2025-10-24 294128/week @ 2025-10-31 302055/week @ 2025-11-07 303573/week @ 2025-11-14 291265/week @ 2025-11-21 299855/week @ 2025-11-28 337914/week @ 2025-12-05 349117/week @ 2025-12-12 282062/week @ 2025-12-19 248297/week @ 2025-12-26 372806/week @ 2026-01-02 427408/week @ 2026-01-09 426129/week @ 2026-01-16 481203/week @ 2026-01-23 516266/week @ 2026-01-30 574198/week @ 2026-02-06

2,071,323 downloads per month
Used in 64 crates (22 directly)

MIT license

255KB
5.5K SLoC

Contains (Cab file, 17KB) loop_in_chain, (Cab file, 17KB) tests/panics_fuzzed/alloc_panic, (Cab file, 17KB) tests/panics_fuzzed/minialloc_panic, (Cab file, 15KB) loop_in_alloc, (Cab file, 14KB) loop_in_directory, (Cab file, 15KB) loop_in_minialloc and 3 more.

rust-cfb

Build Status Crates.io Documentation

A Rust library for reading/writing Compound File Binary (structured storage) files. See MS-CFB for the format specification.

License

rust-cfb is made available under the MIT License.

Development

This project uses Cargo as its build system and package manager.

Tests

cargo test

Benchmarks

There is a benchmark suite using Criterion.rs. To run the benchmarks:

cargo bench

For a clean run (reset Criterion stats), delete the Criterion output directory and re-run:

rm -rf target/criterion
cargo bench

Dependencies

~260–495KB