Cargo Features

esrs has no features set by default.

[dependencies]
esrs = { version = "0.18.0", features = ["postgres", "rebuilder", "kafka", "rabbit", "upcasting"] }
postgres = sqlx, tokio, typed-builder

Enables postgres of sqlx

Sql library for async impl

Affects esrs::sql, store::postgres

rebuilder

Affects esrs::rebuilder

kafka = rdkafka, typed-builder

Affects bus::kafka

rabbit = lapin, typed-builder

Affects bus::rabbit

upcasting

Affects esrs::event, persistable::Persistable

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.

tokio postgres?
sqlx postgres?
rdkafka kafka?

Enables rdkafka 0.35.*

Kafka library

lapin rabbit?

Enables lapin

Rabbit library

typed-builder kafka? postgres? rabbit?

Enables typed-builder

Builder pattern