[[bin]]
name = "relay"
path = "src/bin/relay.rs"
required-features = ["executables"]
[dependencies.anyhow]
optional = true
version = "1"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5"
[dependencies.env_logger]
optional = true
version = "0.9"
[dependencies.sea-streamer-file]
optional = true
version = "0.5"
[dependencies.sea-streamer-kafka]
optional = true
version = "0.5"
[dependencies.sea-streamer-redis]
optional = true
version = "0.5"
[dependencies.sea-streamer-stdio]
optional = true
version = "0.5"
[dependencies.sea-streamer-types]
version = "0.5"
[dependencies.thiserror]
default-features = false
version = "1"
[dependencies.tokio]
optional = true
version = "1.10.0"
[features]
backend-file = ["sea-streamer-file"]
backend-kafka = ["sea-streamer-kafka"]
backend-redis = ["sea-streamer-redis"]
backend-stdio = ["sea-streamer-stdio"]
default = ["backend-stdio"]
executables = ["anyhow", "env_logger", "clap", "tokio/full", "runtime-tokio"]
runtime-async-std = ["sea-streamer-kafka?/runtime-async-std", "sea-streamer-redis?/runtime-async-std", "sea-streamer-stdio?/runtime-async-std", "sea-streamer-file?/runtime-async-std"]
runtime-tokio = ["sea-streamer-kafka?/runtime-tokio", "sea-streamer-redis?/runtime-tokio", "sea-streamer-stdio?/runtime-tokio", "sea-streamer-file?/runtime-tokio"]
[lib]
name = "sea_streamer_socket"
path = "src/lib.rs"
[package]
authors = ["Chris Tsang <chris.2y3@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["concurrency"]
description = "🌊 SeaStreamer backend-agnostic Socket API"
documentation = "https://docs.rs/sea-streamer-socket"
edition = "2021"
keywords = ["async", "stream", "kafka", "stream-processing"]
license = "MIT OR Apache-2.0"
name = "sea-streamer-socket"
readme = "README.md"
repository = "https://github.com/SeaQL/sea-streamer"
rust-version = "1.60"
version = "0.5.2"
[package.metadata.docs.rs]
features = ["default"]
rustdoc-args = ["--cfg", "docsrs"]