Cargo Features

[dependencies]
actix-tools = { version = "0.1.0", default-features = false, features = ["json_logs", "diesel_actors", "influx_actors", "mqtt_actors", "redis_actors", "config", "sentry"] }
default = config, json_logs, sentry

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

json_logs default = chrono, env_logger

Affects actix-tools::logs

diesel_actors = actix, diesel, r2d2

Affects actix-tools::diesel

influx_actors = actix, influx_db_client

Affects actix-tools::influx

mqtt_actors = actix, rumqtt

Affects actix-tools::mqtt

redis_actors = actix, r2d2, r2d2_redis, redis

Affects actix-tools::redis

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.

actix diesel_actors? influx_actors? mqtt_actors? redis_actors?

Enables actix ^0.7

chrono json_logs
config default

Enables config ^0.8

Affects actix-tools::settings

diesel diesel_actors?

Enables diesel ^1.3

env_logger json_logs

Enables env_logger ^0.5

influx_db_client influx_actors?

Enables influx_db_client ^0.3

rumqtt mqtt_actors?

Enables rumqtt ^0.10.1

redis redis_actors?

Enables redis ^0.8

r2d2 diesel_actors? redis_actors?
r2d2_redis redis_actors?

Enables r2d2_redis ^0.7

sentry default

Enables sentry ^0.6

Affects actix-tools::sentry