Use modules publicly, so "cargo doc" generates documentation
This commit is contained in:
parent
c4a388925e
commit
1647352a13
1 changed files with 13 additions and 13 deletions
26
src/main.rs
26
src/main.rs
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue