@@ -48,13 +48,13 @@ pub enum NullType {
48
48
/// serde_json's Value representation
49
49
JsonValue ,
50
50
/// Mac address representation
51
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
51
+ #[ cfg( feature = "postgres-only" ) ]
52
52
MacAddress ,
53
53
/// IP network presentation
54
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
54
+ #[ cfg( feature = "postgres-only" ) ]
55
55
IpNetwork ,
56
56
/// Bit vec representation
57
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
57
+ #[ cfg( feature = "postgres-only" ) ]
58
58
BitVec ,
59
59
}
60
60
@@ -120,12 +120,12 @@ pub enum Value<'a> {
120
120
/// serde_json's Value representation
121
121
JsonValue ( & ' a serde_json:: Value ) ,
122
122
/// Mac address representation
123
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
123
+ #[ cfg( feature = "postgres-only" ) ]
124
124
MacAddress ( mac_address:: MacAddress ) ,
125
125
/// IP network presentation
126
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
126
+ #[ cfg( feature = "postgres-only" ) ]
127
127
IpNetwork ( ipnetwork:: IpNetwork ) ,
128
128
/// Bit vec representation
129
- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
129
+ #[ cfg( feature = "postgres-only" ) ]
130
130
BitVec ( & ' a bit_vec:: BitVec ) ,
131
131
}
0 commit comments