1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
mod config;
mod error;
mod event;
mod hap_type;
mod pin;
mod pointer;
mod tlv;
mod transport;

pub mod accessory;
pub mod characteristic;
pub mod service;

pub mod pairing;
pub mod server;
pub mod storage;

pub use crate::{
    config::Config,
    error::Error,
    hap_type::HapType,
    pin::Pin,
    transport::bonjour::{BonjourFeatureFlag, BonjourStatusFlag},
};

/// `Result` type redefinition.
pub type Result<T> = std::result::Result<T, Error>;

pub use ed25519_dalek::Keypair as Ed25519Keypair;
pub use eui48::MacAddress;
pub use futures;
pub use serde_json;
pub use tokio;