Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Nov 16, 2024
1 parent 11a3f5a commit 249b018
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"image": "mcr.microsoft.com/devcontainers/rust:latest-bullseye",
"tasks": {
"test": "cargo test",
"build": "cargo build",
"launch": "cargo fmt --check"
}
}
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ reorder_modules = false
newline_style = "Auto"
fn_call_width = 90
hard_tabs = false
version = "Two"
style_edition = "2021"
max_width = 140
tab_spaces = 2

Expand Down
2 changes: 1 addition & 1 deletion src/install.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use colored::Colorize;
use anyhow::{bail, Result};
use ai::filesystem::Filesystem;
use colored::Colorize;
use console::Emoji;

const EMOJI: Emoji<'_, '_> = Emoji("🔗", "");
Expand Down
2 changes: 1 addition & 1 deletion src/model.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::default::Default;
use std::str::FromStr;
use std::fmt::{self, Display};
use std::str::FromStr;

use anyhow::{bail, Result};
use serde::{Deserialize, Serialize};
Expand Down
4 changes: 2 additions & 2 deletions src/uninstall.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use std::path::{Path, PathBuf};
use std::{env, fs};

use colored::Colorize;
use anyhow::{bail, Context, Result};
use ai::style::Styled;
use colored::Colorize;
use console::Emoji;
use git2::{Repository, RepositoryOpenFlags as Flags};
use anyhow::{bail, Context, Result};
use thiserror::Error;

#[derive(Error, Debug)]
Expand Down

0 comments on commit 249b018

Please sign in to comment.