Cargo Features
medullah-web has no features set by default.
[dependencies]
medullah-web = { version = "0.22.1", features = ["feat-database", "feat-rabbitmq", "feat-redis", "feat-base64", "feat-hmac", "feat-reqwest", "feat-mailer", "feat-crypto", "feat-jwt", "feat-regex", "feat-validator", "feat-templating", "feat-static", "ntex-multipart"] }
- feat-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
… - feat-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
… - feat-redis = deadpool-redis, 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
… - feat-base64 = base64
-
Affects
helpers::base64
… - feat-hmac = hex, hmac, sha2
-
Affects
helpers::hmac
… - feat-reqwest feat-mailer? = reqwest
-
Affects
app_state::AppMailerConfig
,helpers::reqwest
… - feat-mailer = feat-reqwest, feat-templating
-
Affects
app_state::MedullahState.mailer_config
,services::mail_service
… - feat-crypto = rust-argon2, subtle
-
Affects
app_state::AppHelpers.password
,helpers::password
… - feat-jwt = jsonwebtoken
-
Affects
app_state::AppHelpers.jwt
,helpers::jwt
… - feat-regex = fancy-regex
- feat-validator = validator
-
Affects
http::ReasonPayload
… - feat-templating feat-mailer? = tera
- feat-static = ntex-files
-
Affects
server::ServerConfig.static_config
,server::StaticFileConfig
…
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 feat-rabbitmq?
-
Enables lapin
RabbitMQ
- deadpool-lapin feat-rabbitmq?
- redis feat-redis?
-
Enables redis
Redis
- deadpool-redis feat-redis?
- base64 feat-base64?
- subtle feat-crypto?
- hex feat-hmac?
- sha2 feat-hmac?
- hmac feat-hmac?
- fancy-regex feat-regex?
- rust-argon2 feat-crypto?
- tera feat-templating?
- ntex-files feat-static?
- ntex-multipart implicit feature
-
Enables ntex-multipart
ntex-multipart:
Multipart support for ntex web framework
- r2d2 feat-database?
- reqwest feat-reqwest?
- diesel feat-database?
- jsonwebtoken feat-jwt?
- validator feat-validator?