about summary refs log tree commit diff
path: root/tvix/castore/src/lib.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-05T07·57+0300
committerflokli <flokli@flokli.de>2023-10-05T09·50+0000
commitc67ab911ebdefddda5b05981834c783c0e7a3d7a (patch)
tree15b9bc04e8dca3d02707142eedaae111a4d31917 /tvix/castore/src/lib.rs
parent8239f32b62c4363377f0c513dbcd76dd1e50d01e (diff)
refactor(tvix/castore): move magic number to B3_LEN const r/6704
… and export it.

Change-Id: I47d2dc2f5a8174da65c614b43801d648506e2d73
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9544
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/castore/src/lib.rs')
-rw-r--r--tvix/castore/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/lib.rs b/tvix/castore/src/lib.rs
index 76490fb7e6ef..d51022428e5b 100644
--- a/tvix/castore/src/lib.rs
+++ b/tvix/castore/src/lib.rs
@@ -8,7 +8,7 @@ pub mod import;
 pub mod proto;
 pub mod utils;
 
-pub use digests::B3Digest;
+pub use digests::{B3Digest, B3_LEN};
 pub use errors::Error;
 
 #[cfg(test)]