Skip to content

Commit 2c43519

Browse files
committed
Updated bitvec to 0.6.1, as it supports serde serialization/deserialization.
1 parent c0fcf34 commit 2c43519

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ circle-ci = { repository = "sfackler/rust-postgres" }
2020
default = ["runtime"]
2121
runtime = ["tokio-postgres/runtime", "tokio", "lazy_static", "log"]
2222

23-
"with-bit-vec-0_5" = ["tokio-postgres/with-bit-vec-0_5"]
23+
"with-bit-vec-0_6" = ["tokio-postgres/with-bit-vec-0_6"]
2424
"with-chrono-0_4" = ["tokio-postgres/with-chrono-0_4"]
2525
"with-eui48-0_4" = ["tokio-postgres/with-eui48-0_4"]
2626
"with-geo-types-0_4" = ["tokio-postgres/with-geo-types-0_4"]

tokio-postgres/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ circle-ci = { repository = "sfackler/rust-postgres" }
2323
default = ["runtime"]
2424
runtime = ["tokio-tcp", "tokio-timer", "tokio-uds", "futures-cpupool", "lazy_static"]
2525

26-
"with-bit-vec-0_5" = ["bit-vec-05"]
26+
"with-bit-vec-0_6" = ["bit-vec-06"]
2727
"with-chrono-0_4" = ["chrono-04"]
2828
"with-eui48-0_4" = ["eui48-04"]
2929
"with-geo-types-0_4" = ["geo-types-04"]
@@ -48,7 +48,7 @@ futures-cpupool = { version = "0.1", optional = true }
4848
lazy_static = { version = "1.0", optional = true }
4949
tokio-timer = { version = "0.2", optional = true }
5050

51-
bit-vec-05 = { version = "0.5", package = "bit-vec", optional = true }
51+
bit-vec-06 = { version = "0.6.1", package = "bit-vec", optional = true }
5252
chrono-04 = { version = "0.4", package = "chrono", optional = true }
5353
eui48-04 = { version = "0.4", package = "eui48", optional = true }
5454
geo-types-04 = { version = "0.4", package = "geo-types", optional = true }

tokio-postgres/tests/test/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn target_session_attrs_ok() {
5757
"host=localhost port=5433 user=postgres target_session_attrs=read-write",
5858
NoTls,
5959
);
60-
runtime.block_on(f).unwrap();
60+
let _ = runtime.block_on(f).unwrap();
6161
}
6262

6363
#[test]

0 commit comments

Comments
 (0)