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
34
35
#![deny(warnings)]
extern crate serde;
extern crate serde_json;
extern crate hyper;
extern crate env_logger;
extern crate handlebars;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate log;
#[macro_use]
mod macros;
mod templates;
pub mod errors;
pub mod widget;
mod panel;
mod server;
pub use templates::HTML;
pub use panel::Panel;
pub use server::{ServerConfig, serve, serve_with_config};