Cargo Features

[dependencies]
flowgger = { version = "0.3.3", default-features = false, features = ["capnp-recompile", "coroutines", "redis-input", "kafka-output", "tls", "gelf", "ltsv", "syslog", "passthrough", "file"] }
default = capnp-recompile, file, gelf, kafka-output, ltsv, redis, syslog, tls

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

capnp-recompile default = capnp, capnpc

Affects stdin_input::get_capnp_splitter, tcp_input::get_capnp_splitter, tls_input::get_capnp_splitter, record::FACILITY_MAX, record::FACILITY_MISSING, record::SEVERITY_MISSING, flowgger::record_capnp, record::SEVERITY_MAX

coroutines = may, tls

Affects tcp::tcpco_input, tls::tlsco_input

redis-input = redis
kafka-output default = kafka
tls default coroutines? = openssl
gelf default = serde, serde_json

Affects record::SEVERITY_MAX

ltsv default

Affects record::SDValueType

syslog default = passthrough, rfc3164, rfc5424
rfc3164 rfc5424 passthrough syslog
file default = glob, notify

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.

capnp capnp-recompile

Enables capnp ^0.14

glob file
kafka kafka-output

Enables kafka ^0.8

notify file

Enables notify ^4.0

openssl tls
redis default redis-input?

Enables redis ^0.21

serde gelf
serde_json gelf

Enables serde_json ~0.8

may coroutines?
capnpc build capnp-recompile

Enables capnpc ^0.10