1
0
mirror of https://github.com/actix/examples synced 2025-06-29 02:10:36 +02:00
Roman Frołow
2020-01-12 14:04:02 +01:00
parent 9c34ded6fd
commit e89687e712
28 changed files with 32 additions and 42 deletions

View File

@ -4,7 +4,7 @@ use futures::{Future, TryFutureExt};
use r2d2;
use r2d2_sqlite;
use rusqlite::NO_PARAMS;
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use std::{thread::sleep, time::Duration};
pub type Pool = r2d2::Pool<r2d2_sqlite::SqliteConnectionManager>;