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
#![warn(missing_docs)]
#[macro_use]
extern crate serde_derive;
#[cfg(feature = "ssdp")]
extern crate ssdp;
extern crate serde;
extern crate serde_json;
extern crate hyper;
#[cfg(feature = "nupnp")]
extern crate hyper_openssl;
#[macro_use]
extern crate error_chain;
pub use bridge::Bridge;
#[cfg(feature = "nupnp")]
pub use bridge::discover;
#[cfg(feature = "upnp")]
pub use bridge::discover_upnp;
pub use hue::LightCommand;
pub mod errors;
pub mod bridge;
pub mod hue;
mod json;