From 1d92474cd276deff48e8c68eb3042676f197c91b Mon Sep 17 00:00:00 2001 From: River <53824200+shibedrill@users.noreply.github.com> Date: Wed, 1 Mar 2023 11:53:55 -0500 Subject: [PATCH] Updated README and Cargo.toml to reflect version changes. --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- README.md | 3 ++- src/main.rs | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 11d2c68..5de59de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -333,7 +333,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "oxidefetch" -version = "1.0.1" +version = "1.1.0" dependencies = [ "byte-unit", "chrono", @@ -421,9 +421,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.27.2" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17351d0e9eb8841897b14e9669378f3c69fb57779cc04f8ca9a9d512edfb2563" +checksum = "38a81bbc26c485910df47772df6bbcdb417036132caa9e51e29d2e39c4636d4e" dependencies = [ "cfg-if", "core-foundation-sys", diff --git a/Cargo.toml b/Cargo.toml index a06f260..a9bb0ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxidefetch" -version = "1.0.1" +version = "1.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -11,5 +11,5 @@ chrono = "0.4.23" colored = "2.0.0" compound_duration = "1.2.0" quoted-string = "0.6.1" -sysinfo = "0.27.2" +sysinfo = "0.28.1" whoami = "1.3.0" diff --git a/README.md b/README.md index 06ebfb4..466244e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# oxidefetch 1.0.1 +# oxidefetch 1.1.0 Fully cross platform Neofetch clone written in Rust. Up to 25 times faster than Neofetch! ![alt text](image.png "Title") @@ -35,3 +35,4 @@ regarding your real name, IP, location, etc. You can look at the file it generat ### Changelog 1.0.0: Official full stable release 1.0.1: Fixed distro name for Debian GNU/Linux. Logo & color works now. +1.1.0: Refactored some poorly written typing, and added support for memory. \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index a0870ec..02d0478 100644 --- a/src/main.rs +++ b/src/main.rs @@ -59,7 +59,7 @@ struct InformationStruct { kernel_ver: Option, uptime: String, shell: Option, - _terminal: Option, + terminal: Option, cpu: String, gpu: Option, memory: String, @@ -94,7 +94,7 @@ impl InformationStruct { } }, - _terminal: None, // TODO: Add terminal detection. + terminal: None, // TODO: Add terminal detection. cpu: String::from(sys.cpus()[0].brand()),