Cargo Features
hive_pubsub has no features set by default.
[dependencies]
hive_pubsub = { version = "0.5.0", features = ["mongo-backend", "redis-backend", "core", "test"] }
- mongo-backend test? = core, mongodb
-
Affects
backend::mongo
… - redis-backend = core, mobc, mobc-redis, redis
-
Enables aio of redis ^0.21.2
Affects
backend::redis
… - core mongo-backend? redis-backend? = futures, serde, serde_json, ulid
- test = async-std, dotenv, mongo-backend, tokio
-
Enables tokio-runtime of mongodb ^1.2.2, tokio-comp of redis ^0.21.2
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.
- ulid core?
-
Enables ulid ^0.4.0
- serde core?
- dotenv test?
- futures core?
- serde_json core?
- mongodb mongo-backend? test?
-
Enables mongodb ^1.2.2
- tokio test?
-
Enables tokio ^0.2
- redis redis-backend? test?
-
Enables redis ^0.21.2
- mobc redis-backend?
-
Enables mobc ^0.7.3
- mobc-redis redis-backend?
-
Enables mobc-redis ^0.7.0
- async-std test?