oxide_auth_db/db_service/mod.rs
1#[cfg(feature = "with-redis")]
2pub mod redis;
3
4#[cfg(feature = "with-redis")]
5use redis::RedisDataSource;
6
7#[cfg(feature = "with-redis")]
8
9/// A datasource service to restore clients;
10/// users can change to another database, mysql or postgresql .etc. and add corresponding implements.
11/// for example: pub type DataSource = MysqslDataSource;
12pub type DataSource = RedisDataSource;