tvl-depot/tvix/castore
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
..
protos docs(tvix/castore/directorysvc): K/V is not necessarily flat 2024-02-20 09:17:38 +00:00
src feat(tvix): different service types in one composition 2024-07-19 15:13:37 +00:00
build.rs fix(tvix/{store,castore,build}): Compile tonic w/o config in build.rs 2024-07-09 13:24:22 +00:00
Cargo.toml feat(tvix/castore): add composition module 2024-07-18 10:42:11 +00:00
default.nix refactor(tvix): point SSL_CERT_FILE to /dev/null 2024-07-07 15:11:29 +00:00