Cargo Features

spring-stream has no features set by default.

[dependencies]
spring-stream = { version = "0.2.1", features = ["kafka", "redis", "file", "stdio", "json"] }
default

These default features are set whenever spring-stream is added without default-features = false somewhere in the dependency tree.

Enables runtime-tokio and socket of sea-streamer

kafka

Enables kafka of sea-streamer

Affects config::kafka

redis

Enables redis of sea-streamer

Affects config::redis

file

Enables file of sea-streamer

Affects config::file

stdio

Enables stdio of sea-streamer

Affects config::stdio

json = serde_json

Enables json of sea-streamer

Affects extractor::Json

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.

serde_json json?