Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions crates/mimi-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down
2 changes: 1 addition & 1 deletion crates/mimi-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down
Loading