Crates.io | asciicast |
lib.rs | asciicast |
version | 0.2.2 |
source | src |
created_at | 2018-02-28 21:36:28.733447 |
updated_at | 2018-04-04 08:22:32.426356 |
description | A library for the Asciicast file format used by Asciinema. |
homepage | https://github.com/LegNeato/asciicast-rs |
repository | https://github.com/LegNeato/asciicast-rs |
max_upload_size | |
id | 53237 |
size | 25,622 |
A Rust library for working with the Asciicast file format. Asciicast is used by Asciinema to play back terminal recordings.
asciicast
is available on crates.io and can be included in your Cargo enabled project like this:
[dependencies]
asciicast = "0.2.2"
Then include it in your code like this:
extern crate asciicast;
This library exports version 2 of the asciicast
format by default. Version 1 will eventually be available as a subcrate.
extern crate asciicast;
let entry = asciicast::Entry {
time: 1.234,
event_type: asciicast::EventType::Output,
event_data: String::new("text data"),
};
println!("{:?}", entry);
asciicast
is licensed under either of the following, at your option: