tvl-depot/tvix/castore/src/lib.rs
Florian Klink ea7b334a62 feat(tvix/castore): expose PathBuf too
Change-Id: I1538725766a73436eba9a92dcb4f3275ace2fa4e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11573
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-05-01 19:10:49 +00:00

30 lines
579 B
Rust

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;