Skip to content

Commit f55170f

Browse files
committed
Merge branch 'main' of https://github.com/aryasoni98/cocoindex into issue-994
2 parents 059ae69 + d796c73 commit f55170f

File tree

27 files changed

+1778
-891
lines changed

27 files changed

+1778
-891
lines changed

.github/workflows/_test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
uses: Swatinem/rust-cache@v2
3636
with:
3737
key: rust-${{ matrix.platform.runner }}-${{ matrix.python-version }}
38+
- name: Rust tests (no default features)
39+
run: cargo test --no-default-features --verbose
40+
3841
- name: Rust tests
3942
run: cargo test --verbose
4043

@@ -81,4 +84,4 @@ jobs:
8184
if [ $status -ne 0 ]; then
8285
echo "::error::Third-party notices validation failed. Please update /about.toml and rerun."
8386
exit $status
84-
fi
87+
fi

Cargo.lock

Lines changed: 59 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ lto = true
1515
name = "cocoindex_engine"
1616
crate-type = ["cdylib"]
1717

18+
[features]
19+
default = ["legacy-states-v0"]
20+
legacy-states-v0 = []
21+
1822
[dependencies]
1923
pyo3 = { version = "0.25.1", features = [
2024
"abi3-py311",
@@ -57,7 +61,7 @@ tower = "0.5.2"
5761
tower-http = { version = "0.6.6", features = ["cors", "trace"] }
5862
indexmap = { version = "2.10.0", features = ["serde"] }
5963
blake2 = "0.10.6"
60-
pgvector = { version = "0.4.1", features = ["sqlx"] }
64+
pgvector = { version = "0.4.1", features = ["sqlx", "halfvec"] }
6165
phf = { version = "0.12.1", features = ["macros"] }
6266
indenter = "0.3.4"
6367
itertools = "0.14.0"
@@ -86,7 +90,7 @@ tree-sitter-javascript = "0.23.1"
8690
tree-sitter-json = "0.24.8"
8791
# The other more popular crate tree-sitter-kotlin requires tree-sitter < 0.23 for now
8892
tree-sitter-kotlin-ng = "1.1.0"
89-
tree-sitter-md = "0.3.2"
93+
tree-sitter-md = "0.5.1"
9094
tree-sitter-pascal = "0.10.0"
9195
tree-sitter-php = "0.23.11"
9296
tree-sitter-python = "0.23.6"
@@ -129,9 +133,10 @@ time = { version = "0.3", features = ["macros", "serde"] }
129133
numpy = "0.25.0"
130134
infer = "0.19.0"
131135
serde_with = { version = "3.14.0", features = ["base64"] }
132-
google-cloud-aiplatform-v1 = { version = "0.4.4", default-features = false, features = [
136+
google-cloud-aiplatform-v1 = { version = "0.4.5", default-features = false, features = [
133137
"prediction-service",
134138
] }
139+
google-cloud-gax = "0.24.0"
135140

136141
azure_identity = { version = "0.21.0", default-features = false, features = [
137142
"enable_reqwest_rustls",

0 commit comments

Comments
 (0)