Skip to content

Commit e549f8d

Browse files
committed
Fix features
1 parent 4174eee commit e549f8d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tokio-postgres/src/types/mod.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ where
7272
v.to_sql(ty, out)
7373
}
7474

75-
#[cfg(feature = "with-bit-vec-0.5")]
75+
#[cfg(feature = "with-bit-vec-0_5")]
7676
mod bit_vec_05;
77-
#[cfg(feature = "with-chrono-0.4")]
77+
#[cfg(feature = "with-chrono-0_4")]
7878
mod chrono_04;
79-
#[cfg(feature = "with-eui48-0.4")]
79+
#[cfg(feature = "with-eui48-0_4")]
8080
mod eui48_04;
81-
#[cfg(feature = "with-geo-types-0.4")]
81+
#[cfg(feature = "with-geo-types-0_4")]
8282
mod geo_types_04;
8383
#[cfg(feature = "with-serde_json-1")]
8484
mod serde_json_1;
85-
#[cfg(feature = "with-uuid-0.7")]
85+
#[cfg(feature = "with-uuid-0_7")]
8686
mod uuid_07;
8787

8888
mod special;

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ 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")]
15+
#[cfg(feature = "with-bit-vec-0_7")]
1616
mod bit_vec_07;
17-
#[cfg(feature = "with-chrono-0.4")]
17+
#[cfg(feature = "with-chrono-0_4")]
1818
mod chrono_04;
19-
#[cfg(feature = "with-eui48-0.4")]
19+
#[cfg(feature = "with-eui48-0_4")]
2020
mod eui48_04;
21-
#[cfg(feature = "with-geo-0.10")]
21+
#[cfg(feature = "with-geo-0_10")]
2222
mod geo_010;
2323
#[cfg(feature = "with-serde_json-1")]
2424
mod serde_json_1;
25-
#[cfg(feature = "with-uuid-0.7")]
25+
#[cfg(feature = "with-uuid-0_7")]
2626
mod uuid_07;
2727

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

0 commit comments

Comments
 (0)