aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-03 21:28:44 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-04 01:58:12 -0500
commit9d07ac10cf7ec1278dd90ae8c4fe73cbd80c3fd5 (patch)
treef13aa19d200087b392e6481da97fdeb30dfd3bae /src/lib.rs
parent8a98d4fee2172d5ac53e74bcc95cd39aa68492a3 (diff)
downloadttyrec-9d07ac10cf7ec1278dd90ae8c4fe73cbd80c3fd5.tar.gz
ttyrec-9d07ac10cf7ec1278dd90ae8c4fe73cbd80c3fd5.zip
reintroduce readers and writers with a new api
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d774aa3..5efd824 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -19,8 +19,17 @@
mod creator;
pub use creator::Creator;
mod error;
-pub use error::Error;
+pub use error::{Error, Result};
mod frame;
pub use frame::Frame;
mod parser;
pub use parser::Parser;
+pub mod blocking;
+#[cfg(feature = "async")]
+mod reader;
+#[cfg(feature = "async")]
+pub use reader::Reader;
+#[cfg(feature = "async")]
+mod writer;
+#[cfg(feature = "async")]
+pub use writer::Writer;