blockfile/lib.rs
1pub mod asyncfile;
2pub mod block;
3pub mod error;
4pub mod header;
5
6#[cfg(feature = "async")]
7mod asyncfile;
8
9#[cfg(not(feature = "async"))]
10mod syncfile;
11
12pub mod file {
13
14 #[cfg(feature = "async")]
15 pub use super::asyncfile::*;
16
17 #[cfg(not(feature = "async"))]
18 pub use super::syncfile::*;
19}
20
21pub const INITIAL_CAPACITY: u64 = 8;