Cargo Features

Rustus has no features set by default.

[dependencies]
rustus = { version = "0.5.10", features = ["all", "amqp_notifier", "db_info_storage", "http_notifier", "redis_info_storage", "hashers", "metrics", "test_redis", "test_rmq", "integration_tests"] }
all = amqp_notifier, db_info_storage, hashers, http_notifier, redis_info_storage
amqp_notifier all? = lapin, mobc-lapin, tokio-amqp

Affects config::NotificationsOptions.hooks_amqp_url, config::NotificationsOptions.hooks_amqp_declare_exchange, config::NotificationsOptions.hooks_amqp_declare_queues, config::NotificationsOptions.hooks_amqp_durable_exchange, config::NotificationsOptions.hooks_amqp_durable_queues, config::NotificationsOptions.hooks_amqp_celery, config::NotificationsOptions.hooks_amqp_exchange, config::NotificationsOptions.hooks_amqp_exchange_kind, config::NotificationsOptions.hooks_amqp_routing_key, config::NotificationsOptions.hooks_amqp_queues_prefix, notifiers::amqp_notifier

db_info_storage all? = rbatis, rbson

Affects info_storages::db_info_storage, config::InfoStoreOptions.info_db_dsn

http_notifier all? = reqwest

Affects config::NotificationsOptions.hooks_http_urls, config::NotificationsOptions.hooks_http_proxy_headers, notifiers::http_notifier

redis_info_storage all? = mobc-redis

Affects info_storages::redis_info_storage, config::InfoStoreOptions.info_db_dsn

hashers all? = digest, md-5, sha1, sha2

Affects utils::hashes

metrics
test_redis integration_tests?

For testing

test_db test_rmq integration_tests?
integration_tests = test_db, test_redis, test_rmq

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.

digest hashers?
lapin amqp_notifier?

Enables lapin ^1.0.0

md-5 hashers?
mobc-lapin amqp_notifier?

Enables mobc-lapin ^0.7.0

mobc-redis redis_info_storage?

Enables mobc-redis ^0.7.0

rbatis db_info_storage?

Enables rbatis ^3.0

rbson db_info_storage?
reqwest http_notifier?

Enables reqwest ^0.11.8

sha1 hashers?
sha2 hashers?
tokio-amqp amqp_notifier?

Enables tokio-amqp ^1.0.0