Cargo Features

Foxtive has no features set by default.

[dependencies]
foxtive = { version = "0.2.6", features = ["database", "rabbitmq", "redis", "base64", "hmac", "reqwest", "crypto", "jwt", "regex", "templating", "strum"] }
database = diesel

Affects once_lock::OnceLockHelper.db_pool, once_lock::OnceLockHelper.db_conn, foxtive::database, results::AppPaginationResult, setup::establish_database_connection

rabbitmq = deadpool-lapin, lapin

Affects once_lock::OnceLockHelper.rabbitmq_pool, once_lock::OnceLockHelper.rabbitmq, foxtive::rabbitmq, state::FoxtiveState.rabbitmq_pool, state::FoxtiveState.rabbitmq

redis = deadpool-redis

Enables redis

Redis

Affects once_lock::OnceLockHelper.redis_pool, once_lock::OnceLockHelper.redis, once_lock::OnceLockHelper.cache, foxtive::redis, foxtive::cache, results::redis_result, results::RedisResult, state::FoxtiveState.cache

base64

Enables base64

Affects helpers::base64

hmac = hex, sha2

Enables hmac

Affects helpers::hmac

reqwest

Enables reqwest

Affects helpers::reqwest

crypto = rust-argon2

Affects helpers::password, state::FoxtiveHelpers.password

jwt = jsonwebtoken

Affects helpers::jwt, state::FoxtiveState.auth_iss_public_key, state::FoxtiveState.auth_token_lifetime, state::FoxtiveHelpers.jwt

regex = fancy-regex
templating = tera
strum

Enables strum

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.

lapin rabbitmq?

Enables lapin

RabbitMQ

deadpool-lapin rabbitmq?
deadpool-redis redis?
hex hmac?
sha2 hmac?
fancy-regex regex?
tera templating?
diesel database?
jsonwebtoken jwt?
rust-argon2 crypto?