Cargo Features
medullah-web has no features set by default.
[dependencies]
medullah-web = { version = "0.28.0", features = ["database", "rabbitmq", "redis", "base64", "hmac", "reqwest", "mailer", "crypto", "jwt", "regex", "validator", "templating", "static", "strum", "multipart"] }
- database = diesel, r2d2
-
Affects
app_setup::establish_database_connection
,once_lock::OnceLockHelper.database
,once_lock::OnceLockHelper.db
,request::RequestHelper.db_pool
,medullah-web::database
,app_result::IntoShareableResult
,app_result::IntoShareablePaginationResult
,results::AppPaginationResult
… - rabbitmq = deadpool-lapin, lapin
-
Affects
app_state::MedullahState.rabbitmq_client
,app_state::MedullahState.rabbitmq_pool
,app_state::MedullahState.rabbitmq
,once_lock::OnceLockHelper.rabbitmq_client
,once_lock::OnceLockHelper.rabbitmq_pool
,once_lock::OnceLockHelper.rabbitmq
,medullah-web::rabbitmq
… - redis = deadpool-redis
-
Enables redis ^0.27.6
Redis
Affects
app_state::AppServices.cache
,once_lock::OnceLockHelper.redis_client
,once_lock::OnceLockHelper.redis_pool
,once_lock::OnceLockHelper.redis
,once_lock::OnceLockHelper.cache
,medullah-web::redis
,results::redis_result
,results::RedisResult
,services::cache_service
… - base64
-
Enables base64
Affects
helpers::base64
… - hmac = hex, sha2
-
Enables hmac
Affects
helpers::hmac
… - reqwest mailer?
-
Enables reqwest
Affects
app_state::AppMailerConfig
,helpers::reqwest
… - mailer = reqwest, templating
-
Affects
app_state::MedullahState.mailer_config
,services::mail_service
… - crypto = rust-argon2, subtle
-
Affects
app_state::AppHelpers.password
,helpers::password
… - jwt = jsonwebtoken
-
Affects
app_state::MedullahState.auth_pat_prefix
,app_state::MedullahState.auth_token_lifetime
,app_state::MedullahState.auth_iss_public_key
,app_state::AppHelpers.jwt
,helpers::jwt
… - regex = fancy-regex
- validator
-
Enables validator
Affects
http::ReasonPayload
… - templating mailer? = tera
- static = ntex-files
-
Affects
server::ServerConfig.static_config
,server::StaticFileConfig
… - strum
-
Enables strum
- multipart = medullah-multipart
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?
- subtle crypto?
- hex hmac?
- sha2 hmac?
- fancy-regex regex?
- rust-argon2 crypto?
- tera templating?
- ntex-files static?
- r2d2 database?
- diesel database?
- jsonwebtoken jwt?
- medullah-multipart multipart?