box_format/
lib.rs

1//! Herein lies the brains of the `box` file format.
2//!
3//! Use [BoxFileReader][BoxFileReader] to read files, and [BoxFileWriter][BoxFileWriter] to write files.
4
5mod compression;
6#[cfg(feature = "reader")]
7mod de;
8mod file;
9mod header;
10pub mod path;
11mod record;
12#[cfg(feature = "writer")]
13mod ser;
14
15#[cfg(feature = "ffi")]
16pub mod ffi;
17
18pub use self::file::Inode;
19pub use compression::Compression;
20#[cfg(feature = "reader")]
21pub use file::reader::{BoxFileReader, ExtractError, OpenError};
22#[cfg(feature = "writer")]
23pub use file::writer::BoxFileWriter;
24pub use file::{meta::AttrValue, AttrMap, BoxMetadata};
25use header::BoxHeader;
26pub use path::BoxPath;
27pub use record::{DirectoryRecord, FileRecord, LinkRecord, Record};
28
29#[doc(hidden)]
30pub use comde;