diff options
Diffstat (limited to 'tvix/castore/src/lib.rs')
-rw-r--r-- | tvix/castore/src/lib.rs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tvix/castore/src/lib.rs b/tvix/castore/src/lib.rs new file mode 100644 index 000000000000..bdc533a8c5e6 --- /dev/null +++ b/tvix/castore/src/lib.rs @@ -0,0 +1,30 @@ +mod digests; +mod errors; +mod hashing_reader; + +pub mod blobservice; +pub mod directoryservice; +pub mod fixtures; + +#[cfg(feature = "fs")] +pub mod fs; + +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; +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; |