mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-22 00:00:17 +02:00
examples: Update to redis 0.32 (#3471)
This commit is contained in:
@@ -10,13 +10,13 @@ use axum::{
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
use bb8::{Pool, PooledConnection};
|
||||
use bb8_redis::RedisConnectionManager;
|
||||
use redis::AsyncCommands;
|
||||
use bb8_redis::{
|
||||
bb8::{self, Pool, PooledConnection},
|
||||
redis::AsyncCommands,
|
||||
RedisConnectionManager,
|
||||
};
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
|
||||
use bb8_redis::bb8;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
tracing_subscriber::registry()
|
||||
|
||||
Reference in New Issue
Block a user