projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #234 from TheBlueMatt/2018-10-169-redux
[rust-lightning]
/
src
/
util
/
mod.rs
diff --git
a/src/util/mod.rs
b/src/util/mod.rs
index 571a4dbed1010049c2cd7590df55397a221af39c..842fbea605baba0f89e88d880f305a209c81a068 100644
(file)
--- a/
src/util/mod.rs
+++ b/
src/util/mod.rs
@@
-1,5
+1,8
@@
+//! Some utility modules live here. See individual sub-modules for more info.
+
pub mod events;
pub mod errors;
pub mod events;
pub mod errors;
+pub mod ser;
pub(crate) mod byte_utils;
pub(crate) mod chacha20poly1305rfc;
pub(crate) mod byte_utils;
pub(crate) mod chacha20poly1305rfc;
@@
-7,6
+10,15
@@
pub(crate) mod internal_traits;
pub(crate) mod rng;
pub(crate) mod transaction_utils;
pub(crate) mod rng;
pub(crate) mod transaction_utils;
+#[macro_use]
+pub(crate) mod ser_macros;
+#[macro_use]
+pub(crate) mod macro_logger;
+
+// These have to come after macro_logger to build
+pub mod logger;
+pub mod config;
+
#[cfg(feature = "fuzztarget")]
pub mod sha2;
#[cfg(not(feature = "fuzztarget"))]
#[cfg(feature = "fuzztarget")]
pub mod sha2;
#[cfg(not(feature = "fuzztarget"))]
@@
-17,8
+29,3
@@
pub use self::rng::reset_rng_state;
#[cfg(test)]
pub(crate) mod test_utils;
#[cfg(test)]
pub(crate) mod test_utils;
-
-#[macro_use]
-pub(crate) mod macro_logger;
-
-pub mod logger;