Reexport `Magic`

Writing `network::Magic` is more natural and less annoying than
`network::constants::Magic`, so this change reexports it.

Closes #1667
This commit is contained in:
Martin Habovstiak 2023-02-25 19:10:36 +01:00
parent 277eef486a
commit 76c4c647cf
1 changed files with 2 additions and 0 deletions

View File

@ -33,3 +33,5 @@ pub mod message_filter;
#[cfg(feature = "std")]
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
pub mod message_network;
pub use self::constants::Magic;