Skip to content

Commit de20f0f

Browse files
committed
Fix bit-vec-support
1 parent b483fea commit de20f0f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

tokio-postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tokio = { version = "=0.2.0-alpha.5", default-features = false, features = ["io"
4545
tokio-executor = { version = "=0.2.0-alpha.5", optional = true }
4646
lazy_static = { version = "1.0", optional = true }
4747

48-
bit-vec-06 = { version = "0.6.1", package = "bit-vec", optional = true }
48+
bit-vec-06 = { version = "0.6", package = "bit-vec", optional = true }
4949
chrono-04 = { version = "0.4", package = "chrono", optional = true }
5050
eui48-04 = { version = "0.4", package = "eui48", optional = true }
5151
geo-types-04 = { version = "0.4", package = "geo-types", optional = true }

tokio-postgres/src/types/bit_vec_05.rs renamed to tokio-postgres/src/types/bit_vec_06.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use bit_vec_05::BitVec;
1+
use bit_vec_06::BitVec;
22
use postgres_protocol::types;
33
use std::error::Error;
44

tokio-postgres/src/types/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ where
7373
v.to_sql(ty, out)
7474
}
7575

76-
#[cfg(feature = "with-bit-vec-0_5")]
77-
mod bit_vec_05;
76+
#[cfg(feature = "with-bit-vec-0_6")]
77+
mod bit_vec_06;
7878
#[cfg(feature = "with-chrono-0_4")]
7979
mod chrono_04;
8080
#[cfg(feature = "with-eui48-0_4")]

tokio-postgres/tests/test/types/bit_vec_07.rs renamed to tokio-postgres/tests/test/types/bit_vec_06.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use bit_vec_07::BitVec;
1+
use bit_vec_06::BitVec;
22

33
use crate::types::test_type;
44

tokio-postgres/tests/test/types/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use tokio_postgres::types::{FromSql, FromSqlOwned, IsNull, Kind, ToSql, Type, Wr
1212

1313
use crate::connect;
1414

15-
#[cfg(feature = "with-bit-vec-0_7")]
16-
mod bit_vec_07;
15+
#[cfg(feature = "with-bit-vec-0_6")]
16+
mod bit_vec_06;
1717
#[cfg(feature = "with-chrono-0_4")]
1818
mod chrono_04;
1919
#[cfg(feature = "with-eui48-0_4")]

0 commit comments

Comments
 (0)