Skip to content

Commit

Permalink
refactor: add more stuff to prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 21, 2025
1 parent 51d9928 commit e1940e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ use core::mem::MaybeUninit;
use advertise::AdvertisementDataError;
use bt_hci::cmd::status::ReadRssi;
use bt_hci::cmd::{AsyncCmd, SyncCmd};
pub use bt_hci::param::{AddrKind, BdAddr, LeConnRole as Role};
use bt_hci::FromHciBytesError;

use crate::att::AttErrorCode;
use crate::channel_manager::{ChannelStorage, PacketChannel};
use crate::connection_manager::{ConnectionStorage, EventChannel};
use crate::l2cap::sar::SarType;
use crate::packet_pool::PacketPool;
use bt_hci::param::{AddrKind, BdAddr};

mod fmt;

Expand Down Expand Up @@ -67,6 +67,7 @@ use host::{AdvHandleState, BleHost, HostMetrics, Runner};
#[allow(missing_docs)]
pub mod prelude {
pub use super::Host;
pub use bt_hci::param::{AddrKind, BdAddr, LeConnRole as Role};
pub use bt_hci::uuid::*;
#[cfg(feature = "derive")]
pub use heapless::String as HeaplessString;
Expand Down

0 comments on commit e1940e8

Please sign in to comment.