The commit adds validator sources uses combination of local files and vector-store's files. In `build-env` there are definition of vector-store git repository and revision on which validator will be built. `cargo-toml-template` is script for printing current `Cargo.toml` to the stdout. After updating `build-env` developer needs to update new configuration with `./cargo-toml-template > Cargo.toml`. Git revision is used in several places in `Cargo.toml` and will be used for building `vector-store`, so for better handling git revision it should be setup only in one place. The validator is divided into several crates to be able to built it within scylladb and vector-store repositories. Here we need to create a new validator crate with simple `main` function and call `validator_engine::main` there. We provide tests written in scylladb repo in `validator-scylla` crate. The commit provides empty `cql` test case, which should be filled in the future.
25 lines
793 B
TOML
25 lines
793 B
TOML
## Copyright 2025-present ScyllaDB
|
|
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
|
|
[workspace]
|
|
members = ["crates/*"]
|
|
default-members = ["crates/validator"]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1.0.97"
|
|
futures = "0.3.31"
|
|
scylla = { version = "1.2.0", features = ["time-03"] }
|
|
tokio = { version = "1.44.1", features = ["full"] }
|
|
tracing = "0.1.41"
|
|
uuid = "1.16.0"
|
|
vector-search-validator-engine = { git = "https://github.com/scylladb/vector-store.git", rev = "3ee46a5" }
|
|
vector-search-validator-tests = { git = "https://github.com/scylladb/vector-store.git", rev = "3ee46a5" }
|
|
|
|
[patch.'https://github.com/scylladb/vector-store.git']
|
|
vector-search-validator-scylla = { path = "crates/validator-scylla" }
|