Skip to content

Commit

Permalink
chore(deps): switch to owo-colors for fixing RUSTSEC-2021-0145
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jun 26, 2023
1 parent d57d211 commit 6c5b807
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 36 deletions.
39 changes: 7 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion systeroid-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sysctl = "0.5.4"
thiserror = "1.0.40"
lazy_static = "1.4.0"
rayon = "1.7.0"
colored = "2.0.0"
owo-colors = "3.5.0"
serde = { version = "1.0.164", features = ["derive"] }
serde_json = "1.0.97"
dirs-next = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion systeroid-core/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::error::Result;
use crate::sysctl::r#type::{DisplayType, OutputType};
use crate::sysctl::section::Section;
use colored::Color;
use ini::Ini;
use owo_colors::colored::Color;
use std::collections::HashMap;
use std::path::PathBuf;

Expand Down
2 changes: 1 addition & 1 deletion systeroid-core/src/sysctl/parameter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::config::Config;
use crate::error::Result;
use crate::sysctl::r#type::DisplayType;
use crate::sysctl::section::Section;
use colored::*;
use owo_colors::colored::*;
use serde::{Deserialize, Serialize};
use std::fmt::Write as _;
use std::io::Write;
Expand Down
2 changes: 1 addition & 1 deletion systeroid-core/src/tree.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use colored::*;
use owo_colors::colored::*;
use std::fmt::Display;
use std::io::{Result as IoResult, Write};

Expand Down

0 comments on commit 6c5b807

Please sign in to comment.