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
Download history 5/week @ 2023-01-14 26/week @ 2023-01-21 26/week @ 2023-01-28 23/week @ 2023-02-04 26/week @ 2023-02-11 32/week @ 2023-02-18 10/week @ 2023-02-25 41/week @ 2023-03-04 17/week @ 2023-03-11 29/week @ 2023-03-18 7/week @ 2023-03-25 20/week @ 2023-04-01 18/week @ 2023-04-08 14/week @ 2023-04-15 5/week @ 2023-04-22 37/week @ 2023-04-29

82 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–5MB
~72K SLoC