1 unstable release

Uses new Rust 2024

0.1.0 Apr 12, 2026

#2493 in Text processing

Download history 352/week @ 2026-04-10 542/week @ 2026-04-17 555/week @ 2026-04-24 1104/week @ 2026-05-01 1874/week @ 2026-05-08

4,100 downloads per month
Used in 10 crates (via hayro-interpret)

Apache-2.0 OR MIT

390KB
3.5K SLoC

hayro-cmap

Crates.io Documentation

A parser for cmap files, as they are found in PDFs.

This crate provides a parser for CMap files and allows you to

  • Map character codes from text-showing operators to CID identifiers.
  • Map CIDs to Unicode characters or strings.

Safety

This crate forbids unsafe code via a crate-level attribute.

License

Licensed under either of

at your option.

Dependencies

~0–1.4MB
~62K SLoC