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
36
37
//#[macro_use]
//extern crate failure_derive;
#[macro_use]
extern crate failure;

extern crate cargo_metadata;
extern crate cargo_toml;
extern crate clap;
extern crate futures;
extern crate hyper;
extern crate mime_guess;
//extern crate notify;
extern crate tokio;
extern crate tokio_fs;
extern crate tokio_io;
extern crate toml;
#[macro_use]
extern crate serde_derive;
extern crate regex;
extern crate rsass;
extern crate serde;
extern crate walkdir;

mod config;
mod external_cmds;
mod project;
mod simple_static_server;

pub mod build;
pub mod error;
pub mod expand;
pub mod new;
pub mod serve;
pub mod test;

const DEFAULT_SERVE_PORT: u16 = 8000;
const DEFAULT_TARGET: &'static str = "wasm32-unknown-unknown";