Cargo Features

[dependencies]
hextacy = { version = "0.1.12", default-features = false, features = ["full", "db", "ws", "diesel", "email", "mongo", "redis"] }
default = full

The full feature is set by default whenever hextacy is added without default-features = false somewhere in the dependency tree.

full default = db, email, ws

Affects clients::email, web::ws, cache::redis, db::mongo, db::postgres, hextacy::cache, hextacy::db

db full

Enables diesel, mongodb ^2.3.1, r2d2, and redis ^0.22.3

diesel:

Clients

Affects cache::redis, db::mongo, db::postgres, hextacy::cache, hextacy::db

ws full

Enables actix and actix-web-actors

actix:

HTTP & Websocket

Affects web::ws

diesel

Enables diesel

Affects db::postgres, hextacy::db

email full

Enables lettre ^0.10.3

Affects clients::email

mongo

Enables mongodb ^2.3.1

Affects db::mongo, hextacy::db

redis

Enables r2d2 and redis ^0.22.3

Affects cache::redis, hextacy::cache