[package]
edition = "2024"
name = "clickhouse-sys"
version = "0.0.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Static clickhouse-cpp bridge for the clickhouse-cxx workspace"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/trunkszi/clickhouse-cxx"
[lib]
name = "clickhouse_sys"
path = "src/lib.rs"
[[test]]
name = "column_ownership"
path = "tests/column_ownership.rs"
[[test]]
name = "proactor_stream"
path = "tests/proactor_stream.rs"
[[test]]
name = "tls_echo"
path = "tests/tls_echo.rs"
[dependencies.cares]
version = "0.0.1"
[dependencies.cxx]
version = "1.0"
[dependencies.libc]
version = "0.2"
[dependencies.liburing]
version = "0.0.1"
package = "liburing-proactor"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
]
default-features = false
[dependencies.rustls-native-certs]
version = "0.8"
[dependencies.rustls-pemfile]
version = "2"
[dependencies.socket2]
version = "0.5"
features = ["all"]
[dev-dependencies.rcgen]
version = "0.13"
[build-dependencies.cmake]
version = "0.1"
[build-dependencies.cxx-build]
version = "1.0"
[lints.clippy]
clone_on_copy = "deny"
cloned_instead_of_copied = "deny"
expl_impl_clone_on_copy = "deny"
implicit_clone = "deny"
inefficient_to_string = "deny"
let_underscore_must_use = "deny"
manual_string_new = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
missing_safety_doc = "deny"
non_canonical_clone_impl = "deny"
redundant_clone = "deny"
to_string_in_format_args = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_to_owned = "deny"
useless_asref = "deny"
useless_conversion = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"