Skip to content

Rust client library for ClickHouse

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

bk-rs/clickhouse-rs

Repository files navigation

Examples

Dev

cargo clippy -p clickhouse-data-type -p clickhouse-data-value -p clickhouse-format -p clickhouse-http-client --all-features --tests -- -D clippy::all
cargo +nightly clippy -p clickhouse-data-type -p clickhouse-data-value -p clickhouse-format -p clickhouse-http-client --all-features --tests -- -D clippy::all

cargo clippy -p clickhouse-postgres-client --features _integration_tests --tests -- -D clippy::all
cargo +nightly clippy -p clickhouse-postgres-client --features _integration_tests --tests -- -D clippy::all

cargo clippy -p sqlx-clickhouse-ext --features postgres,all-types,runtime-tokio-native-tls --tests -- -D clippy::all
cargo +nightly clippy -p sqlx-clickhouse-ext --features postgres,all-types,runtime-tokio-native-tls --tests -- -D clippy::all



cargo fmt -- --check



cargo test -p clickhouse-data-type -p clickhouse-data-value -- --nocapture
cargo test -p clickhouse-format --features with-all -- --nocapture
cargo test -p clickhouse-http-client --features with-format-all -- --nocapture
cargo test -p clickhouse-postgres-client --features all-types,runtime-tokio-native-tls,num-bigint -- --nocapture
cargo test -p sqlx-clickhouse-ext --features postgres,all-types,runtime-tokio-native-tls -- --nocapture



RUST_BACKTRACE=1 RUST_LOG=trace ./clickhouse-http-client/tests/run_integration_tests.sh
RUST_BACKTRACE=1 RUST_LOG=trace ./clickhouse-postgres-client/tests/run_integration_tests.sh

Publish order

clickhouse-data-type clickhouse-data-value clickhouse-format

clickhouse-http-client

sqlx-clickhouse-ext

clickhouse-postgres-client