Registry / database / scylla

scylla

JSON →
library1.5.0rscratesunverified

Async CQL driver for Rust, optimized for ScyllaDB and fully compatible with Apache Cassandra.

# Cargo.toml [dependencies] scylla = "1.5.0"
INSTALL
IMPORT
SIG · SCYLLA
S
scylla
databaserustv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
use scylla::Session;

Connects to ScyllaDB and runs a query.

use scylla::Session; use std::sync::Arc; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let session = Session::new("127.0.0.1:9042", None).await?; session.query("SELECT * FROM system.local", &[]).await?; Ok(()) }
Debug
Known issues
gotchaRequires Tokio runtime for async operations
fix
Add `tokio` as a dependency and use `#[tokio::main]`
affects: >=1.0.0
Upgrade
Version history
1.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
scylla — cargo add scylla · libregistry