1
0
mirror of https://github.com/actix/examples synced 2024-11-28 00:12:57 +01:00
examples/r2d2/Cargo.toml
Arve Seljebu 78a753a06a
update rusqlite and r2d2_sqlite in async_db and r2d2 (#148)
* upgrade rusqlite to 0.18

* add note about async_db blocking and running in thread pool

* idiomatic async_db

- DRY
- Iterator::collect + return type
- note about why we are sleeping

* remove r2d2/test.db
2020-01-30 15:52:10 +09:00

18 lines
306 B
TOML

[package]
name = "r2d2-example"
version = "1.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018"
[dependencies]
actix-rt = "1.0.0"
actix-web = "2.0.0"
futures = "0.3.1"
env_logger = "0.6"
uuid = { version = "0.8", features = ["v4"] }
r2d2 = "0.8"
r2d2_sqlite = "0.10"
rusqlite = "0.18"