tephra-client 0.2.1

TCP client for a tephra event store speaking the length-prefixed protobuf protocol: a blocking client, plus an optional multiplexing async (tokio) client behind the `async` feature
# 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.0"
name = "tephra-client"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TCP client for a tephra event store speaking the length-prefixed protobuf protocol: a blocking client, plus an optional multiplexing async (tokio) client behind the `async` feature"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/tqwewe/tephra"
resolver = "2"

[features]
async = [
    "dep:tokio",
    "dep:tokio-stream",
    "dep:futures-core",
    "tephra-proto/tokio",
]

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

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

[[example]]
name = "roundtrip_async"
path = "examples/roundtrip_async.rs"
required-features = ["async"]

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.tephra-proto]
version = "0.1.2"

[dependencies.tephra-types]
version = "0.1.1"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "sync",
    "io-util",
]
optional = true
default-features = false

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]
default-features = false