Cargo Features

Preroll has no features set by default.

[dependencies]
preroll = { version = "0.10.1", features = ["lambda-http", "custom_middleware", "docs", "test", "all", "honeycomb", "postgres", "panic-on-error"] }
lambda-http = tide-lambda-listener
custom_middleware
docs = all
test
all docs? = honeycomb, postgres

Add-ons
All add-ons

honeycomb all? = base64, libhoney-rust, thiserror, tracing, tracing-futures, tracing-honeycomb, tracing-subscriber

Affects json_error::JsonError.honeycomb_trace_id

postgres all? = sqlx, tide-sqlx

Affects test_utils::create_client_and_postgres

panic-on-error

Internal features

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.

base64 honeycomb?

Enables base64 ^0.13

feature = tracing
stuff copied from the unpublished beeline-rust

thiserror honeycomb?
tracing-honeycomb honeycomb?
libhoney-rust honeycomb?
sqlx postgres?

Enables sqlx ^0.5

tide-lambda-listener lambda-http?
tide-sqlx postgres?
tracing honeycomb?
tracing-futures honeycomb?
tracing-subscriber honeycomb?