Cargo Features

sea-streamer-redis = { version = "0.5.0", default-features = false, features = ["executables", "runtime-async-std", "runtime-tokio", "runtime-async-std-native-tls", "runtime-tokio-native-tls", "test"] }
default = runtime-tokio

sadly redis does not compile without a runtime

executables = anyhow, clap, env_logger, runtime-tokio

Enables full of tokio


enable everything

Required by consumer and producer binaries

runtime-async-std runtime-async-std-native-tls? = async-std

Enables async-std-comp of redis, runtime-async-std of sea-streamer-runtime

runtime-tokio default executables? runtime-tokio-native-tls? = tokio

Enables tokio-comp of redis, runtime-tokio of sea-streamer-runtime

runtime-async-std-native-tls = runtime-async-std

Enables async-std-native-tls-comp of redis

runtime-tokio-native-tls = runtime-tokio

Enables tokio-native-tls-comp of redis

test = anyhow, env_logger

Enables attributes of optional async-std, full of optional tokio

Affects consumer::constants.HEARTBEAT

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

anyhow executables? test?
async-std runtime-async-std?
env_logger executables? test?

Enables env_logger ^0.9

clap executables?
tokio executables? runtime-tokio