Skip to content

Commit

Permalink
chore: clean up more crates
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Jun 10, 2024
1 parent 7ee8799 commit 951f496
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 47 deletions.
17 changes: 0 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 2 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,11 @@ serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
anyhow = { version = "1.0.86", features = ["backtrace"] }
tokio = { version = "1.38.0", features = ["full"] }
tokio-util = { version = "0.7.11", features = ["full"] }
async-openai = "0.21.0"
async-trait = "0.1.80"
indoc = "2.0.5"
futures-util = "0.3.30"
dotenvy = "0.15.7"
strum = { version = "0.26.2", features = ["derive"] }
strum_macros = "0.26.2"
redis = { version = "0.25.4", features = [
"aio",
"tokio-comp",
"connection-manager",
"tokio-rustls-comp",
] }
derive_builder = "0.20.0"
tracing = { version = "0.1.40", features = ["log"] }
itertools = { version = "0.13.0" }
qdrant-client = { version = "1.9.0" }
chrono = { version = "0.4.38" }

async-openai = "0.21.0" # TODO: should not be shared
7 changes: 4 additions & 3 deletions crates/code_ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ rust-version.workspace = true
[dependencies]
tree-sitter = "0.22.5"
tree-sitter-rust = "0.21.0"
anyhow = { workspace = true }
tree-sitter-python = "0.21.0"
tree-sitter-ruby = "0.21.0"
tree-sitter-typescript = "0.21.1"
tree-sitter-javascript = "0.21.3"
strum = { version = "0.26.2", features = ["derive"] }
strum_macros = "0.26.2"

derive_builder = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

Expand Down
23 changes: 15 additions & 8 deletions crates/indexing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,24 @@ rust-version.workspace = true
ignore = "0.4.22"
code_ops = { path = "../code_ops" }
infrastructure = { path = "../infrastructure" }
qdrant-client = { version = "1.9.0" }
async-stream = "0.3.5"
futures-util = "0.3.30"
# futures-util = { workspace = true }
redis = { version = "0.25.4", features = [
"aio",
"tokio-comp",
"connection-manager",
"tokio-rustls-comp",
] }
text-splitter = { version = "0.13.1", features = ["markdown"] }

chrono = { workspace = true }
anyhow = { workspace = true }
qdrant-client = { workspace = true }
tracing = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
itertools = { workspace = true }
tokio = { workspace = true }
async-stream = "0.3.5"
async-trait = { workspace = true }
futures-util = { workspace = true }
indoc = { workspace = true }
redis = { workspace = true }
text-splitter = { version = "0.13.1", features = ["markdown"] }
chrono = { workspace = true }
async-trait = { workspace = true }
tokio = { workspace = true }
8 changes: 2 additions & 6 deletions crates/infrastructure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dotenvy = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
async-openai = { workspace = true }
async-trait = { workspace = true }
qdrant-client = { version = "1.9.0" }
dotenvy = "0.15.7"

# tracing and otel
tracing = { workspace = true }

base64 = "0.22.0"
qdrant-client = { workspace = true }

[dev-dependencies]

Expand Down

0 comments on commit 951f496

Please sign in to comment.