tsoracle-client 0.2.6

gRPC client driver for the timestamp oracle.
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.88"
name = "tsoracle-client"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC client driver for the timestamp oracle."
homepage = "https://github.com/prisma-risk/tsoracle"
documentation = "https://docs.rs/tsoracle-client"
readme = "README.md"
keywords = [
    "tsoracle",
    "grpc",
    "client",
    "timestamp",
    "oracle",
]
categories = [
    "network-programming",
    "database",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/prisma-risk/tsoracle"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "tls-rustls",
    "tracing",
    "metrics",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bt = ["tsoracle-core/bt"]
default = [
    "tls-rustls",
    "tracing",
]
metrics = ["dep:metrics"]
tls-native = ["tonic/tls-native-roots"]
tls-rustls = ["tonic/tls-aws-lc"]
tracing = ["dep:tracing"]

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

[dependencies.futures]
version = "0.3"

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.prost]
version = "0.14"

[dependencies.rand]
version = "0.9"
features = [
    "std",
    "std_rng",
    "thread_rng",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "fs",
]

[dependencies.tonic]
version = "0.14"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tsoracle-core]
version = "0.2.5"

[dependencies.tsoracle-proto]
version = "0.2.4"

[dev-dependencies.metrics-util]
version = "0.19"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "fs",
    "test-util",
]

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