more detailed test output
This commit is contained in:
parent
a437c5f34f
commit
73c5245100
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -490,7 +490,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
version = "2.0.0-beta.0"
|
version = "2.0.0-beta.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byte-unit",
|
"byte-unit",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
description = "A fast, cross platform Fetch program for your terminal"
|
description = "A fast, cross platform Fetch program for your terminal"
|
||||||
version = "2.0.0-beta.0"
|
version = "2.0.0-beta.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = [ "NamedNeon", "shibedrill" ]
|
authors = [ "NamedNeon", "shibedrill" ]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# oxidefetch 2.0.0-beta.0
|
# oxidefetch 2.0.0-beta.1
|
||||||
Fully cross platform Neofetch clone written in Rust. Up to 25 times faster than Neofetch!
|
Fully cross platform Neofetch clone written in Rust. Up to 25 times faster than Neofetch!
|
||||||
|
|
||||||

|

|
||||||
@ -101,6 +101,7 @@ No weird quirks to report at this time.
|
|||||||
**1.4.7:** Removed several `unwrap()` calls. Changed debug output to serialize to RON.
|
**1.4.7:** Removed several `unwrap()` calls. Changed debug output to serialize to RON.
|
||||||
**1.4.8:** Applied Clippy suggestions. Added stuff to README.
|
**1.4.8:** Applied Clippy suggestions. Added stuff to README.
|
||||||
**2.0.0-beta.0:** Switch from deprecated, platform-dependent GPU backends to [libpci-rs](https://github.com/namedneon/libpci-rs)
|
**2.0.0-beta.0:** Switch from deprecated, platform-dependent GPU backends to [libpci-rs](https://github.com/namedneon/libpci-rs)
|
||||||
|
**2.0.0-beta.1:** Updated test functionality to include package version in the log file.
|
||||||
|
|
||||||
### License
|
### License
|
||||||
This software is covered by the MIT license. See license.txt for details.
|
This software is covered by the MIT license. See license.txt for details.
|
||||||
|
@ -254,8 +254,8 @@ mod test {
|
|||||||
pub fn log_gathered_data() {
|
pub fn log_gathered_data() {
|
||||||
let sys_info = Information::new();
|
let sys_info = Information::new();
|
||||||
//let data_string = format!("{:#?}", sys_info);
|
//let data_string = format!("{:#?}", sys_info);
|
||||||
let data_string = ron::ser::to_string_pretty(&sys_info, ron::ser::PrettyConfig::default())
|
let data_string = format!("Version: {}\nBegin structure dump:\n{}", env!("CARGO_PKG_VERSION"), ron::ser::to_string_pretty(&sys_info, ron::ser::PrettyConfig::default())
|
||||||
.expect("Failed to serialize data structure. Aborting...");
|
.expect("Failed to serialize data structure. Aborting..."));
|
||||||
let result = fs::write("./test_output.ron", data_string);
|
let result = fs::write("./test_output.ron", data_string);
|
||||||
|
|
||||||
if result.is_ok() {
|
if result.is_ok() {
|
||||||
|
Loading…
Reference in New Issue
Block a user