百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cdrs

> 数据库
开源

Cassandra DB 原生客户端使用 Rust 语言编写。请在 https://GitHub.com/AlexPikalov/cdrs/tree/v.1.x 查看 1.x 版本。如果需要异步版本,请查看 W

337 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Cassandra DB 原生客户端使用 Rust 语言编写。请在 https://GitHub.com/AlexPikalov/cdrs/tree/v.1.x 查看 1.x 版本。如果需要异步版本,请查看 W

CDRS

CDRS is looking for maintainers

CDRS is Apache Cassandra driver written in pure Rust.

Looking for an async version?

  • async-std https://github.com/AlexPikalov/cdrs-async (API is not fully compatible with https://github.com/AlexPikalov/cdrs)
  • tokio https://github.com/AlexPikalov/cdrs/tree/async-tokio

Features

  • TCP/SSL connection;
  • Load balancing;
  • Connection pooling;
  • LZ4, Snappy compression;
  • Cassandra-to-Rust data deserialization;
  • Pluggable authentication strategies;
  • ScyllaDB support;
  • Server events listening;
  • Multiple CQL version support (3, 4), full spec implementation;
  • Query tracing information.

Documentation and examples

  • User guide.
  • Examples.
  • API docs (release).
  • Using ScyllaDB with RUST lesson.

Getting started

Add CDRS to your Cargo.toml file as a dependency:

toml
cdrs = { version = "2" }

Then add it as an external crate to your main.rs:

…

This example configures a cluster consisting of a single node, and uses round robin load balancing and default r2d2 values for connection pool.

License

This project is licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcassandracdrsclientdatabase

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库