@@ -48,13 +48,13 @@ pub enum NullType {
4848 /// serde_json's Value representation
4949 JsonValue ,
5050 /// Mac address representation
51- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
51+ #[ cfg( feature = "postgres-only" ) ]
5252 MacAddress ,
5353 /// IP network presentation
54- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
54+ #[ cfg( feature = "postgres-only" ) ]
5555 IpNetwork ,
5656 /// Bit vec representation
57- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
57+ #[ cfg( feature = "postgres-only" ) ]
5858 BitVec ,
5959}
6060
@@ -120,12 +120,12 @@ pub enum Value<'a> {
120120 /// serde_json's Value representation
121121 JsonValue ( & ' a serde_json:: Value ) ,
122122 /// Mac address representation
123- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
123+ #[ cfg( feature = "postgres-only" ) ]
124124 MacAddress ( mac_address:: MacAddress ) ,
125125 /// IP network presentation
126- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
126+ #[ cfg( feature = "postgres-only" ) ]
127127 IpNetwork ( ipnetwork:: IpNetwork ) ,
128128 /// Bit vec representation
129- #[ cfg( all ( feature = "postgres" , not ( any ( feature = "mysql" , feature = "sqlite" ) ) ) ) ]
129+ #[ cfg( feature = "postgres-only" ) ]
130130 BitVec ( & ' a bit_vec:: BitVec ) ,
131131}
0 commit comments