snix/tvix/castore/src
Yureka 4801d6bf85 feat(tvix): different service types in one composition
This will be necessary for the PathInfoService composition, as some
PathInfoService implementations require a BlobService & DirectoryService
to ingest into.

Using the Extend trait for creating compositions allows extending the same
composition with configs of various types e.g. BlobStore, DirectoryStore
Generics are moved from the Composition struct to the functions.The storage of
the InstantiatonStates uses the TypeId in the key and a Box<dyn Any> in the
value, which is downcasted to InstantiatonState<T>.

Change-Id: I2af11f26c535029adfb1c62905e0e7c4aaed7b51
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11980
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Autosubmit: yuka <yuka@yuka.dev>
2024-07-19 15:13:37 +00:00
..
blobservice feat(tvix): different service types in one composition 2024-07-19 15:13:37 +00:00
directoryservice feat(tvix): different service types in one composition 2024-07-19 15:13:37 +00:00
fs feat(tvix/castore): instrument tokio task with current span 2024-06-20 15:48:14 +00:00
import feat(tvix/tvix-store): improve progress bars 2024-06-17 12:57:34 +00:00
proto refactor(castore/directory): separate order logic from ClosureValidator 2024-06-16 05:01:07 +00:00
tests refactor(tvix): use composition & registry for from_addr 2024-07-18 19:19:26 +00:00
composition.rs feat(tvix): different service types in one composition 2024-07-19 15:13:37 +00:00
digests.rs feat(tvix/castore): impl Debug for B3Digest 2024-03-17 22:18:20 +00:00
errors.rs refactor(tvix/castore/error): drop From<PoisonError<T>> for Error 2024-05-11 15:09:33 +00:00
fixtures.rs refactor(tvix): condense long bytestrings 2023-10-27 07:37:26 +00:00
hashing_reader.rs refactor(tvix/castore/hashing_reader): migrate to rstest 2024-04-07 14:51:47 +00:00
lib.rs feat(tvix/castore): add composition module 2024-07-18 10:42:11 +00:00
path.rs feat(tvix/castore/path): implement PathBuf::from_host_path 2024-05-02 13:28:29 +00:00
tonic.rs refactor(tvix/castore/tonic): migrate to rstest 2024-04-07 14:51:47 +00:00