Skip to content

Commit 15c18e2

Browse files
Merge branch 'main' into docs/create-source-subpages-1126
2 parents d6c5888 + 18f5cc0 commit 15c18e2

39 files changed

+3002
-669
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: 63 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 1 deletion
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",
@@ -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",
@@ -146,3 +151,4 @@ azure_storage_blobs = { version = "0.21.0", default-features = false, features =
146151
"hmac_rust",
147152
] }
148153
serde_path_to_error = "0.1.17"
154+
expect-test = "1.5.0"

0 commit comments

Comments
 (0)