Skip to main content

fs_core/
lib.rs

1//! Pure-Rust block-device framework. The shared substrate every filesystem
2//! driver and disk-image reader plugs into.
3//!
4//! See the crate-level
5//! [`README`](https://github.com/antimatter-studios/rust-fs-core) for the
6//! intended consumers and design.
7
8#![deny(unsafe_op_in_unsafe_fn)]
9
10pub mod block;
11pub mod caching_device;
12pub mod callback_device;
13pub mod error;
14pub mod ffi;
15pub mod file_device;
16pub mod readonly;
17pub mod slice;
18pub mod stream;
19
20pub use block::{BlockDevice, BlockRead};
21pub use caching_device::CachingDevice;
22pub use callback_device::{CallbackDevice, FlushCb, ReadCb, WriteCb};
23pub use error::{Error, Result};
24pub use file_device::FileDevice;
25pub use readonly::ReadOnlyDevice;
26pub use slice::{OwnedRwSlice, OwnedSlice, SliceReader};
27pub use stream::BlockReadStreamer;