Cargo Features
[dependencies]
actix-ratelimit = { version = "0.3.1", default-features = false, features = ["memory", "redis-store", "memcached"] }
- default = memcached, memory, redis-store
-
These default features are set whenever
actix-ratelimit
is added without
somewhere in the dependency tree.default-features = false - memory default = dashmap
-
Affects
stores::memory
… - redis-store default = backoff, redis_rs
-
Affects
stores::redis
… - memcached default = backoff, r2d2-memcache
-
Affects
stores::memcached
…
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.
- dashmap memory
-
Enables dashmap ^4.0.1
- redis_rs redis-store
-
Enables redis ^0.15.1
- backoff memcached redis-store
-
Enables backoff ^0.2.1
- r2d2-memcache memcached