about summary refs log tree commit diff
path: root/tvix/castore/src/lib.rs
blob: 1ce092135b8313e7a8057c324e4ee6282ceb7d7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
mod digests;
mod errors;
mod hashing_reader;

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

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

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

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;