1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "cli")]
5pub mod cli;
6#[cfg(feature = "cli")]
8pub mod commands;
9mod error;
10pub use error::Error;
11
12#[cfg(feature = "creation")]
13pub mod file;
14#[cfg(feature = "creation")]
15pub use file::{
16 create::{create_mtree_v1_from_input_dir, create_mtree_v2_from_input_dir},
17 error::Error as CreationError,
18};
19
20pub mod mtree;
21pub use mtree::{Mtree, v2::parse_mtree_v2};
22
23pub mod parser;
25mod path_decoder;
27
28mod utils;
29pub(crate) use utils::mtree_buffer_to_string;
30
31mod schema;
32pub use schema::MtreeSchema;