Registry / database / clickhouse-rs

clickhouse-rs

JSON →
library0.1.21rscratesunverified

Asynchronous Yandex ClickHouse client library for Rust.

# Cargo.toml [dependencies] clickhouse-rs = "0.1.21"
INSTALL
IMPORT
SIG · CLICKHOUSE-RS
C
clickhouse-rs
databaserustv0.1.21
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.

Client
use clickhouse_rs::Client;

Connects to a local ClickHouse server and runs a simple query.

use clickhouse_rs::Client; #[tokio::main] async fn main() { let client = Client::new("tcp://localhost:9000").await.unwrap(); let block = client.query("SELECT 1").fetch_all().await.unwrap(); println!("{:?}", block); }
Debug
Known issues
gotchaRequires a running ClickHouse server; no embedded mode.
fix
Ensure ClickHouse is installed and accessible at the specified address.
affects: >=0.1.0
Upgrade
Version history
0.1.21latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources
clickhouse-rs — cargo add clickhouse-rs · libregistry