Use modules publicly, so "cargo doc" generates documentation

This commit is contained in:
Matthias Beyer 2015-12-30 02:10:50 +01:00
parent c4a388925e
commit 1647352a13

View file

@ -11,21 +11,21 @@ extern crate config;
use std::process::exit; use std::process::exit;
use cli::CliConfig; pub use cli::CliConfig;
use configuration::Configuration; pub use configuration::Configuration;
use runtime::{ImagLogger, Runtime}; pub use runtime::{ImagLogger, Runtime};
use clap::App; pub use clap::App;
use module::Module; pub use module::Module;
mod cli; pub mod cli;
mod configuration; pub mod configuration;
mod runtime; pub mod runtime;
mod module; pub mod module;
mod storage; pub mod storage;
mod ui; pub mod ui;
mod util; pub mod util;
use module::bm::BM; pub use module::bm::BM;
fn main() { fn main() {
let yaml = load_yaml!("../etc/cli.yml"); let yaml = load_yaml!("../etc/cli.yml");