{"id":70293,"library":"clickhouse","title":"ClickHouse","description":"Official Rust client for ClickHouse DB, providing async query execution and data ingestion.","status":"active","version":"0.15.0","language":"rust","source_language":null,"source_url":"https://github.com/ClickHouse/clickhouse-rs","tags":["clickhouse","database","client","async","sql"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nclickhouse = \"0.15.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add clickhouse","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Client","correct":"use clickhouse::Client;"}],"quickstart":{"code":"use clickhouse::Client;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let client = Client::default().with_url(\"http://localhost:8123\");\n    let result = client.query(\"SELECT 1\").fetch_all::<i32>().await?;\n    println!(\"{:?}\", result);\n    Ok(())\n}","lang":"rust","description":"Connect to a ClickHouse server and execute a query."},"warnings":[{"fix":"Add tokio as a dependency and enable the `tls` feature if using HTTPS.","message":"Requires an async runtime (e.g., tokio) and the `tls` feature for HTTPS connections.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':9,18 'clickhous':1,6,15 'client':4,17 'data':13 'databas':16 'db':7 'execut':11 'ingest':14 'offici':2 'provid':8 'queri':10 'rust':3 'sql':19","created_at":"2026-06-17T18:12:21.893464+00:00","updated_at":"2026-06-17T18:12:21.893464+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://clickhouse.com","github":"https://github.com/ClickHouse/clickhouse-rs","docs":"https://docs.rs/clickhouse/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}