Skip to content
Snippets Groups Projects
Commit 1ce438ee authored by Matt Johnston's avatar Matt Johnston
Browse files

Add a "prelude"

Perhaps should have a different name, is mostly internal conveniences
parent 9e7bea62
...@@ -46,6 +46,7 @@ mod noasync; ...@@ -46,6 +46,7 @@ mod noasync;
pub mod packets; pub mod packets;
pub mod sshwire; pub mod sshwire;
pub mod config; pub mod config;
pub mod prelude;
// Application API // Application API
pub use behaviour::{Behaviour, ServBehaviour, CliBehaviour, pub use behaviour::{Behaviour, ServBehaviour, CliBehaviour,
......
#![allow(unused_imports)]
#[cfg(not(feature = "defmt"))]
pub use {
log::{debug, error, info, log, trace, warn},
};
#[cfg(feature = "defmt")]
pub use defmt::{debug, info, warn, panic, error, trace};
pub use crate::error::{Error, Result, TrapBug};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment