Skip to content

Commit

Permalink
CQL Vector type support
Browse files Browse the repository at this point in the history
This commit adds serializing and deserializing rune lists to/from CQL vectors.
  • Loading branch information
pkolaczk committed Jun 26, 2024
1 parent 37057f2 commit 18e6466
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ rand = "0.8"
regex = "1.5"
rune = "0.12"
rust-embed = "8"
scylla = { path = "../scylla-rust-driver/scylla", features = ["ssl"] }
scylla = { git = "https://github.com/pkolaczk/scylla-rust-driver.git", branch = "vector", features = ["ssl"] }
search_path = "0.1"
serde = { version = "1.0.116", features = ["derive"] }
serde_json = "1.0.57"
Expand Down
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ mod bind {
.try_collect()?;
Ok(CqlValue::Set(elements))
}
(Value::Vec(v), ColumnType::Vector(elt, dim)) => {
(Value::Vec(v), ColumnType::Vector(elt, _)) => {
let v = v.borrow_ref().unwrap();
let elements = v
.as_ref()
Expand Down

0 comments on commit 18e6466

Please sign in to comment.