1 2 3 4 5 6 7 8 9 10 11 12
//! Currently the mysql and postgres implementations are exactly the same. //! I tried generic and macro, both failed.So this is it. //! #[cfg(feature = "mysql")] pub mod mysql; #[cfg(feature = "postgres")] pub mod postgres; #[cfg(feature = "redis")] pub mod redis;