refactor(tvix/store/proto): use bstr::ByteSlice
String::from_utf8_lossy simply discards invalid bytes, while bstr replaces them with their replacement character. Change-Id: Ib78ff36ca5faacc1ad60bc4ddde7b62773848c07 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10981 Tested-by: BuildkiteCI Reviewed-by: Peter Kolloch <info@eigenvalue.net> Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
98a17dbdf9
commit
43570bae11
4 changed files with 8 additions and 1 deletions
1
tvix/Cargo.lock
generated
1
tvix/Cargo.lock
generated
|
|
@ -3417,6 +3417,7 @@ dependencies = [
|
|||
"async-recursion",
|
||||
"async-stream",
|
||||
"blake3",
|
||||
"bstr",
|
||||
"bytes",
|
||||
"clap",
|
||||
"count-write",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue