[package]
edition = "2024"
rust-version = "1.85.0"
name = "voltdb-client-rust"
version = "0.2.0"
authors = ["johnnywale <johnnywalee@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A socket client library for VoltDB server supporting both sync and async operations."
readme = "README.md"
keywords = [
"voltdb",
"asynchronous",
"database-client",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/johnnywale/voltdb-client-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["tokio"]
metrics = ["dep:metrics"]
tokio = [
"dep:tokio",
"dep:dashmap",
"dep:bytes",
]
tracing = ["dep:tracing"]
[lib]
name = "voltdb_client_rust"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[test]]
name = "async_integration_test"
path = "tests/async_integration_test.rs"
[[test]]
name = "async_test"
path = "tests/async_test.rs"
[[test]]
name = "doc"
path = "tests/doc.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "pool_test"
path = "tests/pool_test.rs"
[[test]]
name = "unit_test"
path = "tests/unit_test.rs"
[dependencies.bigdecimal]
version = "0.4.0"
[dependencies.bytebuffer]
version = "2.3.0"
[dependencies.byteorder]
version = "1.5"
[dependencies.bytes]
version = "1.5"
optional = true
[dependencies.chrono]
version = "0.4"
[dependencies.dashmap]
version = "6.0"
optional = true
[dependencies.futures]
version = "0.3.31"
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.quick-error]
version = "2.0.1"
[dependencies.sha2]
version = "0.10"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"sync",
"rt",
"time",
"macros",
]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.libc]
version = "0.2.178"
[dev-dependencies.testcontainers]
version = "0.26"
features = ["blocking"]
[dev-dependencies.tokio]
version = "1.35"
features = ["full"]