Skip to content

Commit

Permalink
Fix --no-default-features and bench
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed May 23, 2024
1 parent 8ce12c8 commit 3021fa1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions limitador/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ time = "0.3.36"
serial_test = "3.0"
criterion = { version = "0.5.1", features = ["html_reports", "async_tokio"] }
redis-test = { version = "0.4.0", features = ["aio"] }
redis = { version = "0.25", features = [
"connection-manager",
"tokio-comp",
"tls-native-tls",
"tokio-native-tls-comp",
] }
paste = "1"
rand = "0.8"
tempfile = "3.5.0"
Expand Down
1 change: 1 addition & 0 deletions limitador/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use limitador::storage::disk::{DiskStorage, OptimizeFor};
#[cfg(feature = "distributed_storage")]
use limitador::storage::distributed::CrInMemoryStorage;
use limitador::storage::in_memory::InMemoryStorage;
#[cfg(feature = "redis_storage")]
use limitador::storage::redis::CachedRedisStorageBuilder;
use limitador::storage::{AsyncCounterStorage, CounterStorage};
use limitador::{AsyncRateLimiter, RateLimiter};
Expand Down

0 comments on commit 3021fa1

Please sign in to comment.