[package]
edition = "2024"
name = "libch"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ClickHouse's insert and merge as short-lived operations on BigHouse `inodedb` disks, so one pool of workers serves many tenants."
readme = "README.md"
keywords = [
"clickhouse",
"analytics",
"mergetree",
"multitenant",
"s3",
]
categories = ["database"]
license-file = "LICENSE"
repository = "https://github.com/danthegoodman1/libch"
[package.metadata.docs.rs]
all-features = true
[features]
metrics = ["dep:metrics"]
[lib]
name = "libch"
path = "src/lib.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "conformance_stock"
path = "tests/conformance_stock.rs"
[[test]]
name = "conformance_worker"
path = "tests/conformance_worker.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "fixture"
path = "tests/fixture.rs"
[[test]]
name = "fleet"
path = "tests/fleet.rs"
[[test]]
name = "keys"
path = "tests/keys.rs"
[[test]]
name = "observer"
path = "tests/observer.rs"
[[test]]
name = "orphans"
path = "tests/orphans.rs"
[[test]]
name = "plan_beside_stock_boot"
path = "tests/plan_beside_stock_boot.rs"
[[test]]
name = "pool_tenants"
path = "tests/pool_tenants.rs"
[[test]]
name = "preflight"
path = "tests/preflight.rs"
[[test]]
name = "s3"
path = "tests/s3.rs"
[[test]]
name = "sandbox"
path = "tests/sandbox.rs"
[[test]]
name = "soak"
path = "tests/soak.rs"
[[test]]
name = "stock"
path = "tests/stock.rs"
[[test]]
name = "worker_compaction"
path = "tests/worker_compaction.rs"
[[test]]
name = "worker_crash"
path = "tests/worker_crash.rs"
[[test]]
name = "worker_describe"
path = "tests/worker_describe.rs"
[[test]]
name = "worker_faults"
path = "tests/worker_faults.rs"
[[test]]
name = "worker_fork"
path = "tests/worker_fork.rs"
[[test]]
name = "worker_hazards"
path = "tests/worker_hazards.rs"
[[test]]
name = "worker_insert"
path = "tests/worker_insert.rs"
[[test]]
name = "worker_kill_loop"
path = "tests/worker_kill_loop.rs"
[[test]]
name = "worker_lease"
path = "tests/worker_lease.rs"
[[test]]
name = "worker_merge"
path = "tests/worker_merge.rs"
[[test]]
name = "worker_midway"
path = "tests/worker_midway.rs"
[[test]]
name = "worker_wide"
path = "tests/worker_wide.rs"
[[bench]]
name = "operations"
path = "benches/operations.rs"
harness = false
[[bench]]
name = "stock"
path = "benches/stock.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false
[dependencies.inodedb]
version = "0.1"
package = "inodedb-client"
[dependencies.libc]
version = "0.2"
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.prost]
version = "0.14"
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.12"
default-features = false
[dependencies.rusty-s3]
version = "0.7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"process",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tonic]
version = "0.14"
default-features = false
[dependencies.url]
version = "2"
[dev-dependencies.metrics-util]
version = "0.20"
features = ["debugging"]
default-features = false