forked from mehcode/async-diesel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
29 lines (25 loc) · 997 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "async-diesel"
version = "0.2.0"
authors = ["Ryan Leckey <[email protected]>", "Mindaugas Vinkelis <[email protected]>"]
edition = "2018"
description = "Integrate Diesel into async-std or tokio cleanly and efficiently."
repository = "https://github.com/mehcode/async-diesel"
license = "MIT/Apache-2.0"
categories = ["asynchronous", "database"]
[features]
# no default feature, user must select either async-std or tokio
default = []
async-std-runtime = ["async-std"]
tokio-runtime = ["tokio"]
[dependencies]
async-trait = "0.1.35"
diesel = { version = "1.4.5", features = [ "r2d2" ] }
futures = "0.3.5"
r2d2 = "0.8.8"
async-std = { version = "1.6.0", features = [ "unstable" ], optional = true }
tokio = { version = "0.2.21", features = [ "blocking" ], optional = true }
[dev-dependencies]
diesel = { version = "1.4.5", features = [ "postgres", "uuidv07" ] }
uuid = { version = "0.8.1", features = [ "v4" ] }
async-std = { version = "1.6.0", features = [ "attributes" ] }