8 releases

0.4.3 Feb 5, 2024
0.4.2 May 18, 2023
0.4.1 Oct 3, 2022
0.4.0 Feb 28, 2022
0.1.0 Jan 15, 2021

#540 in Text processing

Download history 126/week @ 2023-12-23 73/week @ 2023-12-30 149/week @ 2024-01-06 160/week @ 2024-01-13 137/week @ 2024-01-20 217/week @ 2024-01-27 215/week @ 2024-02-03 191/week @ 2024-02-10 254/week @ 2024-02-17 262/week @ 2024-02-24 218/week @ 2024-03-02 209/week @ 2024-03-09 190/week @ 2024-03-16 264/week @ 2024-03-23 313/week @ 2024-03-30 194/week @ 2024-04-06

987 downloads per month
Used in 25 crates (5 directly)

MIT license

73KB
1K SLoC

The tectonic_io_base create

This crate is part of the Tectonic project. It provides basic types for Tectonic’s pluggable I/O backend system, with implementations for std I/O types as well as flate2 gzip streams.


lib.rs:

Tectonic’s pluggable I/O backend.

This crates defines the core traits and types used by Tectonic’s I/O subsystem, and provides implementations for common stdlib types. It provides a simplified I/O model compatible with TeX’s usage patterns, as encapsulated in the IoProvider trait. Files are exposed as InputHandle or OutputHandle structs, which add a layer of bookkeeping to allow the higher levels of Tectonic to determine when the engine needs to be re-run.

Dependencies

~5–17MB
~155K SLoC