7 unstable releases

0.4.0 Mar 8, 2023
0.3.3 Dec 15, 2021
0.2.0 Nov 4, 2019
0.1.0 Oct 27, 2019

#2451 in Parser implementations

Download history 10/week @ 2024-07-22 33/week @ 2024-09-23 21/week @ 2024-09-30

54 downloads per month
Used in 2 crates

MIT license

22KB
426 lines

ttyrec

This crate contains helpers for reading and writing ttyrec files.

Parser and Creator can be used to read and write files manually, and Reader and Writer are helpers to provide a nicer API for asynchronous applications using tokio.

If you are not using tokio, the tokio dependencies can be removed by building with default_features = false (by default, the "async" feature is enabled which provides tokio support).


lib.rs:

This crate contains helpers for reading and writing ttyrec files.

Parser and Creator can be used to read and write files manually, and Reader and Writer are helpers to provide a nicer API for asynchronous applications using futures. Additionally, blocking::Reader and blocking::Writer provide a similar API for non-asynchronous applications.

Features

Async support via Tokio can be enabled via the "async" feature.

Dependencies

~0–5.5MB
~19K SLoC