qubit_io/lib.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2026 Haixing Hu.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! # Qubit IO
11//!
12//! Small I/O trait utilities for Rust.
13//!
14//! This crate provides named, object-safe composition traits for common
15//! [`std::io`] capability combinations. The concrete trait definitions live in
16//! dedicated modules and are re-exported from the crate root for ergonomic use.
17
18mod read_seek;
19mod read_write;
20mod read_write_seek;
21mod write_seek;
22
23pub use read_seek::ReadSeek;
24pub use read_write::ReadWrite;
25pub use read_write_seek::ReadWriteSeek;
26pub use write_seek::WriteSeek;