1 2 3 4 5
use diesel::r2d2::ConnectionManager; use diesel::r2d2::Pool; use diesel::SqliteConnection; pub type DbPool = Pool<ConnectionManager<SqliteConnection>>;