waymaker-client/rust/Cargo.toml

35 lines
1.1 KiB
TOML

[package]
name = "waymaker-client"
version = "0.1.27"
edition = "2021"
description = "Official Rust client for waymaker — locks, streams, KV, collections, sketches, cache, object store"
repository = "https://git.awesomike.com/pub/waymaker-client"
license = "MIT OR Apache-2.0"
[lib]
path = "src/lib.rs"
[dependencies]
# Async runtime. `sync` for watch/Notify in the Lock hold loop; no `signal`
# (that was for the operator CLI, which stays in the waymaker repo).
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread", "macros", "net", "time", "sync"
] }
tokio-stream = { version = "0.1", default-features = false }
futures = "0.3"
thiserror = "2"
bytes = "1"
# gRPC client. tls-ring lets the client talk to a TLS-protected waymaker
# without dragging in any server-side TLS termination code.
tonic = { version = "0.14", features = ["codegen", "tls-ring"] }
tonic-prost = "0.14"
prost = "0.14"
# request_id idempotency keys.
uuid = { version = "1", features = ["v4", "v7", "fast-rng"] }
[build-dependencies]
# Compiles the vendored protos in ../proto into client stubs at build time.
tonic-prost-build = "0.14"