Skip to content

Commit

Permalink
🚸 zb: Provide conn alias for connection module
Browse files Browse the repository at this point in the history
for convenience.
  • Loading branch information
zeenix committed Feb 6, 2024
1 parent 1968801 commit bc8024a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zbus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ pub use message::Type as MessageType;
pub use message::NATIVE_ENDIAN_SIG;

pub mod connection;
/// Alias for `connection` module, for convenience.
pub use connection as conn;
pub use connection::{handshake::AuthMechanism, Connection};

#[deprecated(since = "4.0.0", note = "Use `connection::Builder` instead")]
Expand Down

0 comments on commit bc8024a

Please sign in to comment.