-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Move segment module out of worker crate
- Loading branch information
Sicheng Pan
committed
Jan 23, 2025
1 parent
b3f2870
commit dbf6ad2
Showing
12 changed files
with
6,657 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "segment" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = { workspace = true } | ||
roaring = { workspace = true } | ||
serde = { workspace = true } | ||
tantivy = { workspace = true } | ||
thiserror = { workspace = true } | ||
tracing = { workspace = true } | ||
uuid = { workspace = true } | ||
|
||
chroma-blockstore = { workspace = true } | ||
chroma-distance = { workspace = true } | ||
chroma-error = { workspace = true } | ||
chroma-index = { workspace = true } | ||
chroma-types = { workspace = true } | ||
|
||
[dev-dependencies] | ||
shuttle = { workspace = true } | ||
tokio = { workspace = true } | ||
tempfile = { workspace = true } | ||
|
||
chroma-cache = { workspace = true } | ||
chroma-storage = { workspace = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use serde::Deserialize; | ||
|
||
/// The configuration for the custom resource memberlist provider. | ||
/// # Fields | ||
/// - storage_path: The path to use for temporary storage in the segment manager, if needed. | ||
#[derive(Deserialize)] | ||
pub(crate) struct SegmentManagerConfig { | ||
#[allow(dead_code)] | ||
pub(crate) storage_path: String, | ||
} |
Oops, something went wrong.