File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ use std::net::IpAddr;
17
17
use std:: sync:: Arc ;
18
18
use std:: time:: { Duration , SystemTime , UNIX_EPOCH } ;
19
19
20
+ #[ cfg( feature = "with-serde_json-1" ) ]
21
+ pub use crate :: serde_json_1:: Json ;
20
22
use crate :: type_gen:: { Inner , Other } ;
21
23
22
24
#[ doc( inline) ]
@@ -94,9 +96,6 @@ mod uuid_07;
94
96
mod special;
95
97
mod type_gen;
96
98
97
- #[ cfg( feature = "with-serde_json-1" ) ]
98
- pub use crate :: types:: serde_json_1:: Json ;
99
-
100
99
/// A Postgres type.
101
100
#[ derive( PartialEq , Eq , Clone , Debug ) ]
102
101
pub struct Type ( Inner ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use postgres_protocol::types;
2
2
use std:: error:: Error ;
3
3
use uuid_07:: Uuid ;
4
4
5
- use crate :: types :: { FromSql , IsNull , ToSql , Type } ;
5
+ use crate :: { FromSql , IsNull , ToSql , Type } ;
6
6
7
7
impl < ' a > FromSql < ' a > for Uuid {
8
8
fn from_sql ( _: & Type , raw : & [ u8 ] ) -> Result < Uuid , Box < dyn Error + Sync + Send > > {
Original file line number Diff line number Diff line change @@ -49,3 +49,11 @@ lazy_static = { version = "1.0", optional = true }
49
49
[dev-dependencies ]
50
50
tokio = " =0.2.0-alpha.6"
51
51
env_logger = " 0.5"
52
+
53
+ bit-vec-06 = { version = " 0.6" , package = " bit-vec" }
54
+ chrono-04 = { version = " 0.4" , package = " chrono" }
55
+ eui48-04 = { version = " 0.4" , package = " eui48" }
56
+ geo-types-04 = { version = " 0.4" , package = " geo-types" }
57
+ serde-1 = { version = " 1.0" , package = " serde" }
58
+ serde_json-1 = { version = " 1.0" , package = " serde_json" }
59
+ uuid-07 = { version = " 0.7" , package = " uuid" }
You can’t perform that action at this time.
0 commit comments