5
5
//! Deserialization is mostly stable and tested, but the serialization
6
6
//! interface is probably going to change, and might have bugs.
7
7
8
- extern crate byteorder;
9
-
10
8
use std:: io;
11
9
12
10
/// Access to the program environment.
@@ -25,7 +23,7 @@ use std::convert::TryFrom;
25
23
mod try_from;
26
24
27
25
#[ cfg( not( nightly) ) ]
28
- use try_from:: TryFrom ;
26
+ use crate :: try_from:: TryFrom ;
29
27
30
28
mod debug;
31
29
mod errors;
@@ -38,27 +36,27 @@ mod subfield;
38
36
mod timespec;
39
37
mod value;
40
38
41
- pub use errors:: { NoFit , NotRead , ReadError } ;
42
- pub use intvalue:: IntValue ;
43
- pub use mapiterator:: { MapIterable , MapIterator } ;
44
- pub use reference:: ArgdataRef ;
45
- pub use seqiterator:: { SeqIterable , SeqIterator } ;
46
- pub use strvalue:: StrValue ;
47
- pub use timespec:: Timespec ;
48
- pub use value:: { Type , Value } ;
39
+ pub use crate :: errors:: { NoFit , NotRead , ReadError } ;
40
+ pub use crate :: intvalue:: IntValue ;
41
+ pub use crate :: mapiterator:: { MapIterable , MapIterator } ;
42
+ pub use crate :: reference:: ArgdataRef ;
43
+ pub use crate :: seqiterator:: { SeqIterable , SeqIterator } ;
44
+ pub use crate :: strvalue:: StrValue ;
45
+ pub use crate :: timespec:: Timespec ;
46
+ pub use crate :: value:: { Type , Value } ;
49
47
50
48
#[ path = "values/mod.rs" ]
51
49
mod values_;
52
50
53
- pub use values_:: {
51
+ pub use crate :: values_:: {
54
52
bigint, binary, bool, encoded, encoded_fd, encoded_with_fds, float, int, invalid_fd, map, null,
55
53
process_fd, seq, str, timestamp,
56
54
} ;
57
55
58
56
/// Implementations of specific `Argdata` types.
59
57
/// Use the functions in the root of this crate to create them.
60
58
pub mod values {
61
- pub use values_:: {
59
+ pub use crate :: values_:: {
62
60
BigInt , Binary , Bool , EncodedArgdata , Float , Int , Map , Null , Seq , Str , Timestamp ,
63
61
} ;
64
62
}
0 commit comments