1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/async_db/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

21 lines
381 B
TOML

[package]
name = "async_db"
version = "2.0.0"
authors = ["Darin Gordon <dkcdkg@gmail.com>"]
edition = "2018"
workspace = ".."
[dependencies]
actix-rt = "1.0.0"
actix-web = "2.0.0"
env_logger = "0.6"
failure = "0.1.1"
futures = "0.3.1"
num_cpus = "1.10.0"
r2d2 = "0.8.2"
r2d2_sqlite = "0.10"
rusqlite = "0.18"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"