Skip to content

Commit 64e8de2

Browse files
committed
Upgraded driver version.
Fixes: #11
1 parent 1faf5a7 commit 64e8de2

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.github/workflows/rust.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
services:
16+
scylladb1:
17+
image: scylladb/scylla
18+
ports:
19+
- 9042:9042
20+
options: --health-cmd "cqlsh --debug" --health-interval 5s --health-retries 10
21+
volumes:
22+
- ${{ github.workspace }}:/workspace
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Format check
26+
run: cargo fmt --verbose --all -- --check
27+
- name: Clippy check
28+
run: cargo clippy --verbose -- -D warnings
29+
- name: Build
30+
run: cargo build --verbose
31+
- name: Run tests
32+
# test threads must be one because else database tests will run in parallel and will result in flaky tests
33+
run: cargo test --verbose -- --test-threads=1

scylla-cdc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
scylla = "0.2.1"
9+
scylla = "0.3.0"
1010
tokio = { version = "1.1.0", features = ["rt", "io-util", "net", "time", "macros", "sync"] }
1111
chrono = "0.4.19"
1212
futures = "0.3.17"

scylla-cdc/src/stream_generations.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use futures::stream::StreamExt;
22
use scylla::batch::Consistency;
3-
use scylla::cql_to_rust::{FromCqlVal, FromCqlValError, FromCqlValError::BadCqlType, FromRow};
3+
use scylla::cql_to_rust::{FromCqlVal, FromCqlValError, FromCqlValError::BadCqlType};
44
use scylla::frame::response::result::{CqlValue, Row};
55
use scylla::frame::value::{Timestamp, Value, ValueTooBig};
66
use scylla::query::Query;

0 commit comments

Comments
 (0)