Skip to content

Commit

Permalink
Fix features
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Mar 6, 2019
1 parent 4174eee commit e549f8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions tokio-postgres/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ where
v.to_sql(ty, out)
}

#[cfg(feature = "with-bit-vec-0.5")]
#[cfg(feature = "with-bit-vec-0_5")]
mod bit_vec_05;
#[cfg(feature = "with-chrono-0.4")]
#[cfg(feature = "with-chrono-0_4")]
mod chrono_04;
#[cfg(feature = "with-eui48-0.4")]
#[cfg(feature = "with-eui48-0_4")]
mod eui48_04;
#[cfg(feature = "with-geo-types-0.4")]
#[cfg(feature = "with-geo-types-0_4")]
mod geo_types_04;
#[cfg(feature = "with-serde_json-1")]
mod serde_json_1;
#[cfg(feature = "with-uuid-0.7")]
#[cfg(feature = "with-uuid-0_7")]
mod uuid_07;

mod special;
Expand Down
10 changes: 5 additions & 5 deletions tokio-postgres/tests/test/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ use tokio_postgres::types::{FromSql, FromSqlOwned, IsNull, Kind, ToSql, Type, Wr

use crate::connect;

#[cfg(feature = "with-bit-vec-0.7")]
#[cfg(feature = "with-bit-vec-0_7")]
mod bit_vec_07;
#[cfg(feature = "with-chrono-0.4")]
#[cfg(feature = "with-chrono-0_4")]
mod chrono_04;
#[cfg(feature = "with-eui48-0.4")]
#[cfg(feature = "with-eui48-0_4")]
mod eui48_04;
#[cfg(feature = "with-geo-0.10")]
#[cfg(feature = "with-geo-0_10")]
mod geo_010;
#[cfg(feature = "with-serde_json-1")]
mod serde_json_1;
#[cfg(feature = "with-uuid-0.7")]
#[cfg(feature = "with-uuid-0_7")]
mod uuid_07;

fn test_type<T, S>(sql_type: &str, checks: &[(T, S)])
Expand Down

0 comments on commit e549f8d

Please sign in to comment.