feat(tvix/castore/digests): impl From digest::Output<_> for B3Digest

This allows calling .into() to get a B3Digest.

Change-Id: I6e63b496413cd00d84acfcd15c7de0f64c79721f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11086
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-03-03 14:40:54 +02:00 committed by clbot
parent 9a7246ea1d
commit 8383e9e02e
4 changed files with 33 additions and 6 deletions

3
tvix/Cargo.lock generated
View file

@ -280,6 +280,7 @@ dependencies = [
"cc",
"cfg-if",
"constant_time_eq",
"digest",
"rayon",
]
@ -649,6 +650,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
"crypto-common",
"subtle",
]
[[package]]
@ -3304,6 +3306,7 @@ dependencies = [
"bstr",
"bytes",
"data-encoding",
"digest",
"fuse-backend-rs",
"futures",
"hex-literal",