Skip to content

Commit

Permalink
Merge pull request #572 from zeenix/conn-as-connection-alias
Browse files Browse the repository at this point in the history
🚸 zb: Provide `conn` alias for `connection` module
  • Loading branch information
zeenix authored Feb 6, 2024
2 parents 1968801 + bc8024a commit c6580ea
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 c6580ea

Please sign in to comment.