about summary refs log blame commit diff
path: root/tvix/castore/src/lib.rs
blob: e09926afe70d223d14f827094ccb4be8a6213dc6 (plain) (tree)
1
2
3
4
5
6
7
8

            
                   

                    
                    

                         



                      


                 
         
                              
 

               
              
 
                                    
                                                                   
                                                         


            





                                                                               
mod digests;
mod errors;
mod hashing_reader;

pub mod blobservice;
pub mod composition;
pub mod directoryservice;
pub mod fixtures;

#[cfg(feature = "fs")]
pub mod fs;

mod nodes;
pub use nodes::*;

mod path;
pub use path::{Path, PathBuf};

pub mod import;
pub mod proto;
pub mod tonic;

pub use digests::{B3Digest, B3_LEN};
pub use errors::{Error, ValidateDirectoryError, ValidateNodeError};
pub use hashing_reader::{B3HashingReader, HashingReader};

#[cfg(test)]
mod tests;

// That's what the rstest_reuse README asks us do, and fails about being unable
// to find rstest_reuse in crate root.
#[cfg(test)]
#[allow(clippy::single_component_path_imports)]
use rstest_reuse;