Skip to content

Commit b77a115

Browse files
committed
add benchmark.yml
1 parent 40e960e commit b77a115

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,27 @@ tokio = { version = "0.2.14", features = ["full"] }
2727
tokio-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+
]
3039
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
3140
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
3241
with-eui48-0_4 = ["tokio-postgres/with-eui48-0_4"]
3342
with-geo-types-0_4 = ["tokio-postgres/with-geo-types-0_4"]
3443
with-serde_json-1 = ["tokio-postgres/with-serde_json-1"]
3544
with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
3645
with-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"]

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,15 @@
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

0 commit comments

Comments
 (0)