From 2c43519093aab98c2e1e6e180dfd7490b546727c Mon Sep 17 00:00:00 2001 From: Kai Yao Date: Sat, 27 Jul 2019 21:07:03 -0500 Subject: [PATCH] Updated bitvec to 0.6.1, as it supports serde serialization/deserialization. --- postgres/Cargo.toml | 2 +- tokio-postgres/Cargo.toml | 4 ++-- tokio-postgres/tests/test/runtime.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index 5200f788..ac1c120e 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -20,7 +20,7 @@ circle-ci = { repository = "sfackler/rust-postgres" } default = ["runtime"] runtime = ["tokio-postgres/runtime", "tokio", "lazy_static", "log"] -"with-bit-vec-0_5" = ["tokio-postgres/with-bit-vec-0_5"] +"with-bit-vec-0_6" = ["tokio-postgres/with-bit-vec-0_6"] "with-chrono-0_4" = ["tokio-postgres/with-chrono-0_4"] "with-eui48-0_4" = ["tokio-postgres/with-eui48-0_4"] "with-geo-types-0_4" = ["tokio-postgres/with-geo-types-0_4"] diff --git a/tokio-postgres/Cargo.toml b/tokio-postgres/Cargo.toml index 8d2d6d00..673279ea 100644 --- a/tokio-postgres/Cargo.toml +++ b/tokio-postgres/Cargo.toml @@ -23,7 +23,7 @@ circle-ci = { repository = "sfackler/rust-postgres" } default = ["runtime"] runtime = ["tokio-tcp", "tokio-timer", "tokio-uds", "futures-cpupool", "lazy_static"] -"with-bit-vec-0_5" = ["bit-vec-05"] +"with-bit-vec-0_6" = ["bit-vec-06"] "with-chrono-0_4" = ["chrono-04"] "with-eui48-0_4" = ["eui48-04"] "with-geo-types-0_4" = ["geo-types-04"] @@ -48,7 +48,7 @@ futures-cpupool = { version = "0.1", optional = true } lazy_static = { version = "1.0", optional = true } tokio-timer = { version = "0.2", optional = true } -bit-vec-05 = { version = "0.5", package = "bit-vec", optional = true } +bit-vec-06 = { version = "0.6.1", package = "bit-vec", optional = true } chrono-04 = { version = "0.4", package = "chrono", optional = true } eui48-04 = { version = "0.4", package = "eui48", optional = true } geo-types-04 = { version = "0.4", package = "geo-types", optional = true } diff --git a/tokio-postgres/tests/test/runtime.rs b/tokio-postgres/tests/test/runtime.rs index 2af9a18d..f959a16e 100644 --- a/tokio-postgres/tests/test/runtime.rs +++ b/tokio-postgres/tests/test/runtime.rs @@ -57,7 +57,7 @@ fn target_session_attrs_ok() { "host=localhost port=5433 user=postgres target_session_attrs=read-write", NoTls, ); - runtime.block_on(f).unwrap(); + let _ = runtime.block_on(f).unwrap(); } #[test]