oxia-client 0.1.0

Native Rust client SDK for Oxia, a distributed key-value store. Provides an idiomatic, asynchronous API built on Tokio.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "oxia-client"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust client SDK for Oxia, a distributed key-value store. Provides an idiomatic, asynchronous API built on Tokio."
homepage = "https://github.com/oxia-db/oxia-client-rust"
documentation = "https://docs.rs/oxia-client"
readme = "README.md"
keywords = [
    "oxia",
    "client",
    "key-value",
    "metadata",
    "grpc",
]
categories = [
    "database",
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/oxia-db/oxia-client-rust"
resolver = "2"

[lib]
name = "oxia"
path = "src/lib.rs"

[[example]]
name = "basic_complex_query"
path = "examples/basic_complex_query.rs"

[[example]]
name = "basic_kv"
path = "examples/basic_kv.rs"

[[example]]
name = "basic_secondary"
path = "examples/basic_secondary.rs"

[[example]]
name = "basic_versioning"
path = "examples/basic_versioning.rs"

[[example]]
name = "metadata_ephemeral"
path = "examples/metadata_ephemeral.rs"

[[example]]
name = "metadata_notification"
path = "examples/metadata_notification.rs"

[[example]]
name = "streaming_sequence"
path = "examples/streaming_sequence.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "interop_tests"
path = "tests/interop_tests.rs"

[[test]]
name = "java_parity_tests"
path = "tests/java_parity_tests.rs"

[dependencies.arc-swap]
version = "1.7"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3"

[dependencies.prost]
version = "0.13"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.47.0"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tonic]
version = "0.13"

[dependencies.tonic-types]
version = "0.13"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.7"
features = ["v4"]

[dependencies.xxhash-rust]
version = "0.8.5"
features = ["xxh3"]

[dev-dependencies.testcontainers]
version = "0.23"

[dev-dependencies.testcontainers-modules]
version = "0.11"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[build-dependencies.tonic-build]
version = "0.13.1"