File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,27 @@ tokio = { version = "0.2.14", features = ["full"] }
2727tokio-postgres = " 0.5.3"
2828
2929[features ]
30+ all-types = [
31+ " with-bit-vec-0_6" ,
32+ " with-chrono-0_4" ,
33+ " with-eui48-0_4" ,
34+ " with-geo-types-0_4" ,
35+ " with-serde_json-1" ,
36+ " with-uuid-0_8" ,
37+ " with-time-0_2"
38+ ]
3039with-bit-vec-0_6 = [" tokio-postgres/with-bit-vec-0_6" ]
3140with-chrono-0_4 = [" tokio-postgres/with-chrono-0_4" ]
3241with-eui48-0_4 = [" tokio-postgres/with-eui48-0_4" ]
3342with-geo-types-0_4 = [" tokio-postgres/with-geo-types-0_4" ]
3443with-serde_json-1 = [" tokio-postgres/with-serde_json-1" ]
3544with-uuid-0_8 = [" tokio-postgres/with-uuid-0_8" ]
3645with-time-0_2 = [" tokio-postgres/with-time-0_2" ]
46+
47+ # enable to run tls test
48+ tls-test = []
49+
50+ [[test ]]
51+ name = " tls"
52+ path = " tests/tls.rs"
53+ required-features = [" tls-test" ]
Original file line number Diff line number Diff line change 1313
1414 </p >
1515</div >
16- <br >
16+ <br >
17+
18+ This crate is an out-of-the-box wrapper of [ tokio-postgres] ( https://crates.io/crates/tokio-postgres ) .
19+
20+ ### Pros
21+
22+ - runtime-independent, can be used on any async runtime.
23+ - build-in tls support, based on [ tokio-rustls] ( https://github.com/quininer/tokio-rustls ) .
24+
25+ ### Performance
26+
27+ ### Develop
You can’t perform that action at this time.
0 commit comments