diff --git a/.rustfmt.toml b/.rustfmt.toml index 7b137a9..7d7d3d0 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -14,23 +14,8 @@ tab_spaces = 4 reorder_imports = true reorder_modules = true -# Comments -comment_width = 80 -wrap_comments = true - # Functions -fn_args_layout = "Tall" -fn_single_line = false - -# Structures -struct_literal_style = "Block" -struct_literal_width = 18 -struct_trailing_comma = "Vertical" +fn_params_layout = "Tall" # Match expressions match_block_trailing_comma = true - -# Spaces -space_after_colon = true -space_before_colon = false -spaces_around_ranges = false diff --git a/crates/mimi-cli/src/main.rs b/crates/mimi-cli/src/main.rs index d3efd30..0723f6c 100644 --- a/crates/mimi-cli/src/main.rs +++ b/crates/mimi-cli/src/main.rs @@ -42,14 +42,14 @@ async fn main() -> anyhow::Result<()> { if let Some(config_path) = config { info!("Using config: {}", config_path); } - } + }, Some(Commands::Version) => { println!("mimi {}", env!("CARGO_PKG_VERSION")); - } + }, None => { println!("MiMi v{}", env!("CARGO_PKG_VERSION")); println!("Use --help for usage information"); - } + }, } Ok(()) diff --git a/crates/mimi-core/src/lib.rs b/crates/mimi-core/src/lib.rs index e06fa20..3ff9829 100644 --- a/crates/mimi-core/src/lib.rs +++ b/crates/mimi-core/src/lib.rs @@ -3,9 +3,9 @@ //! This module contains the fundamental components and trait definitions //! for the MiMi cognitive operating system. +pub mod config; pub mod error; pub mod message; -pub mod config; pub use error::{Error, Result};