1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
pub use stdto_core::error;
pub mod prelude {
pub use stdto_core::AsBytes;
#[cfg(feature = "bytes")]
pub use stdto_core::{ToBytes, ToStringForBytes};
#[cfg(all(feature = "bytes", feature = "derive"))]
pub use stdto_derive::{DebugBytes, ToBytes};
#[cfg(feature = "hash")]
pub use stdto_core::ToHash;
#[cfg(all(feature = "hash", feature = "derive"))]
pub use stdto_derive::ToHash;
#[cfg(feature = "json")]
pub use stdto_core::ToJson;
#[cfg(all(feature = "json", feature = "derive"))]
pub use stdto_derive::ToJson;
#[cfg(feature = "yaml")]
pub use stdto_core::ToYaml;
#[cfg(all(feature = "yaml", feature = "derive"))]
pub use stdto_derive::ToYaml;
#[cfg(feature = "toml")]
pub use stdto_core::ToToml;
#[cfg(all(feature = "toml", feature = "derive"))]
pub use stdto_derive::ToToml;
#[cfg(feature = "hex")]
pub use stdto_core::ToHex;
#[cfg(all(feature = "hex", feature = "derive"))]
pub use stdto_derive::DebugHex;
}
pub use prelude::*;
#[cfg(feature = "serde")]
pub use stdto_core::serde;
#[cfg(all(feature = "serde", feature = "derive"))]
pub use stdto_derive::serde;
#[cfg(feature = "bytes")]
pub use stdto_core::{Endian, ToBytesOptions};
#[cfg(all(feature = "bytes", feature = "derive"))]
pub use stdto_derive::bytes;
#[cfg(feature = "hash")]
pub use stdto_core::digest;
#[cfg(all(feature = "hash", feature = "derive"))]
pub use stdto_derive::hash;
#[cfg(feature = "json")]
pub use stdto_core::serde_json;
#[cfg(all(feature = "json", feature = "derive"))]
pub use stdto_derive::json;
#[cfg(feature = "yaml")]
pub use stdto_core::serde_yaml;
#[cfg(all(feature = "yaml", feature = "derive"))]
pub use stdto_derive::yaml;
#[cfg(feature = "toml")]
pub use stdto_core::serde_toml;
#[cfg(all(feature = "toml", feature = "derive"))]
pub use stdto_derive::toml;
#[cfg(feature = "hex")]
pub use stdto_core::HexMode;