Added licensing info. Updated README.
This commit is contained in:
parent
551c6a13a2
commit
c12665958f
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -333,7 +333,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
version = "1.3.0"
|
version = "1.3.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byte-unit",
|
"byte-unit",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
version = "1.3.0"
|
version = "1.3.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# oxidefetch 1.3.0
|
# oxidefetch 1.3.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!
|
||||||
|
|
||||||

|

|
||||||
@ -76,4 +76,7 @@ No weird quirks to report at this time.
|
|||||||
**1.2.0:** Allowed users to enable field titles as a compile-time feature. Tentative fix for GPU display issues on Linux.
|
**1.2.0:** Allowed users to enable field titles as a compile-time feature. Tentative fix for GPU display issues on Linux.
|
||||||
**1.2.1:** Stable fix for GPU display quirks.
|
**1.2.1:** Stable fix for GPU display quirks.
|
||||||
**1.2.2:** All GPUs should print in their own lines.
|
**1.2.2:** All GPUs should print in their own lines.
|
||||||
**1.3.0:** Tentative fix for issue where empty GPU info line might print on Linux.
|
**1.3.0:** Tentative fix for issue where empty GPU info line might print on Linux.
|
||||||
|
|
||||||
|
### License
|
||||||
|
This software is covered by the MIT license. See license.txt for details.
|
20
license.txt
Normal file
20
license.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
Copyright 2023 shibedrill
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the “Software”), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
28
src/main.rs
28
src/main.rs
@ -1,4 +1,26 @@
|
|||||||
// Code by River. Copy if you want, but don't say it's yours.
|
/*
|
||||||
|
|
||||||
|
Copyright 2023 shibedrill
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the “Software”), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
use byte_unit::*;
|
use byte_unit::*;
|
||||||
use chrono::*;
|
use chrono::*;
|
||||||
@ -72,7 +94,7 @@ struct InformationStruct {
|
|||||||
kernel_ver: Option<String>,
|
kernel_ver: Option<String>,
|
||||||
uptime: String,
|
uptime: String,
|
||||||
shell: Option<String>,
|
shell: Option<String>,
|
||||||
terminal: Option<String>,
|
_terminal: Option<String>,
|
||||||
cpu: String,
|
cpu: String,
|
||||||
gpu: Option<Vec<String>>,
|
gpu: Option<Vec<String>>,
|
||||||
memory: String,
|
memory: String,
|
||||||
@ -107,7 +129,7 @@ impl InformationStruct {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
terminal: None, // TODO: Add terminal detection.
|
_terminal: None, // TODO: Add terminal detection.
|
||||||
|
|
||||||
cpu: String::from(sys.cpus()[0].brand()),
|
cpu: String::from(sys.cpus()[0].brand()),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user