hurray_io/lib.rs
1//! # hurray-io
2//!
3//! Async streaming and file format read/write for the hurray tensor interchange format.
4//!
5//! This crate builds on [`hurray-core`] and provides async I/O via Tokio.
6//!
7//! ## Feature flags
8//!
9//! | Feature | Effect |
10//! |---------|--------|
11//! | `tokio` | Enables async read/write using `tokio::io` traits |
12
13pub mod error;
14
15#[cfg(feature = "tokio")]
16pub mod file;
17
18#[cfg(feature = "tokio")]
19pub mod stream;
20
21pub use error::{Error, Result};