@@ -13,30 +13,52 @@ description = "An async extension for Diesel the safe, extensible ORM and Query
13
13
rust-version = " 1.65.0"
14
14
15
15
[dependencies ]
16
- diesel = { version = " ~2.1.1" , default-features = false , features = [" i-implement-a-third-party-backend-and-opt-into-breaking-changes" ]}
16
+ diesel = { version = " ~2.1.1" , default-features = false , features = [
17
+ " i-implement-a-third-party-backend-and-opt-into-breaking-changes" ,
18
+ ] }
17
19
async-trait = " 0.1.66"
18
- futures-channel = { version = " 0.3.17" , default-features = false , features = [" std" , " sink" ], optional = true }
19
- futures-util = { version = " 0.3.17" , default-features = false , features = [" std" , " sink" ] }
20
- tokio-postgres = { version = " 0.7.10" , optional = true }
21
- tokio = { version = " 1.26" , optional = true }
22
- mysql_async = { version = " >=0.30.0,<0.34" , optional = true , default-features = false , features = [" minimal" , " derive" ] }
23
- mysql_common = {version = " >=0.29.0,<0.32.0" , optional = true , default-features = false , features = [" frunk" , " derive" ]}
20
+ futures-channel = { version = " 0.3.17" , default-features = false , features = [
21
+ " std" ,
22
+ " sink" ,
23
+ ], optional = true }
24
+ futures-util = { version = " 0.3.17" , default-features = false , features = [
25
+ " std" ,
26
+ " sink" ,
27
+ ] }
28
+ tokio-postgres = { version = " 0.7.10" , optional = true }
29
+ tokio = { version = " 1.26" , optional = true }
30
+ mysql_async = { version = " >=0.30.0,<0.34" , optional = true , default-features = false , features = [
31
+ " minimal" ,
32
+ " derive" ,
33
+ ] }
34
+ mysql_common = { version = " >=0.29.0,<0.32.0" , optional = true , default-features = false , features = [
35
+ " frunk" ,
36
+ " derive" ,
37
+ ] }
24
38
25
- bb8 = {version = " 0.8" , optional = true }
26
- deadpool = {version = " 0.10" , optional = true , default-features = false , features = [" managed" ] }
27
- mobc = {version = " >=0.7,<0.10" , optional = true }
28
- scoped-futures = {version = " 0.1" , features = [" std" ]}
39
+ bb8 = { version = " 0.8" , optional = true }
40
+ deadpool = { version = " 0.11" , optional = true , default-features = false , features = [
41
+ " managed" ,
42
+ ] }
43
+ mobc = { version = " >=0.7,<0.10" , optional = true }
44
+ scoped-futures = { version = " 0.1" , features = [" std" ] }
29
45
30
46
[dev-dependencies ]
31
- tokio = {version = " 1.12.0" , features = [" rt" , " macros" , " rt-multi-thread" ]}
47
+ tokio = { version = " 1.12.0" , features = [" rt" , " macros" , " rt-multi-thread" ] }
32
48
cfg-if = " 1"
33
49
chrono = " 0.4"
34
- diesel = { version = " 2.1.0" , default-features = false , features = [" chrono" ]}
50
+ diesel = { version = " 2.1.0" , default-features = false , features = [" chrono" ] }
35
51
diesel_migrations = " 2.1.0"
36
52
37
53
[features ]
38
54
default = []
39
- mysql = [" diesel/mysql_backend" , " mysql_async" , " mysql_common" , " futures-channel" , " tokio" ]
55
+ mysql = [
56
+ " diesel/mysql_backend" ,
57
+ " mysql_async" ,
58
+ " mysql_common" ,
59
+ " futures-channel" ,
60
+ " tokio" ,
61
+ ]
40
62
postgres = [" diesel/postgres_backend" , " tokio-postgres" , " tokio" , " tokio/rt" ]
41
63
sqlite = [" diesel/sqlite" , " sync-connection-wrapper" ]
42
64
sync-connection-wrapper = [" tokio/rt" ]
@@ -49,7 +71,17 @@ path = "tests/lib.rs"
49
71
harness = true
50
72
51
73
[package .metadata .docs .rs ]
52
- features = [" postgres" , " mysql" , " sqlite" , " deadpool" , " bb8" , " mobc" , " async-connection-wrapper" , " sync-connection-wrapper" , " r2d2" ]
74
+ features = [
75
+ " postgres" ,
76
+ " mysql" ,
77
+ " sqlite" ,
78
+ " deadpool" ,
79
+ " bb8" ,
80
+ " mobc" ,
81
+ " async-connection-wrapper" ,
82
+ " sync-connection-wrapper" ,
83
+ " r2d2" ,
84
+ ]
53
85
no-default-features = true
54
86
rustc-args = [" --cfg" , " doc_cfg" ]
55
87
rustdoc-args = [" --cfg" , " doc_cfg" ]
0 commit comments