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

#2831 in Parser implementations

Download history 1/week @ 2024-02-19 30/week @ 2024-02-26 3/week @ 2024-03-04 6/week @ 2024-03-11 35/week @ 2024-04-01 17/week @ 2024-04-15

52 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–1.2MB
~20K SLoC