print_raster

Crates.ioprint_raster
lib.rsprint_raster
version0.1.0
sourcesrc
created_at2024-08-13 17:59:43.911864
updated_at2024-08-13 17:59:43.911864
descriptionA crate for processing print raster images in Rust
homepage
repositoryhttps://github.com/ArcticLampyrid/print_raster.rs/
max_upload_size
id1336321
size144,797
ArcticLampyrid (ArcticLampyrid)

documentation

https://docs.rs/print_raster

README

print_raster

crates.io Released API docs BSD 3 Clause licensed

A crate for processing print raster images in Rust.

Supported Formats

  • URF (Apple Raster)
  • CUPS Raster V1
  • CUPS Raster V2, including PWG Raster (a subset of CUPS Raster V2)
  • CUPS Raster V3

Features

  • Fully Asynchronous I/O
  • Relatively low-level API

Development

You can run unit tests, integration tests, and documentation tests with the following command:

cargo test

For fuzz testing, it's a bit more complicated. You need to use the honggfuzz tool, which only works on a few platforms. See here to set it up.

After setting up honggfuzz, you can run a fuzz target:

cargo hfuzz run <fuzz_target>
Commit count: 0

cargo fmt