From d3d3a8f8a9527ab786d7c0745f19c9742e2d17ee Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sat, 1 Nov 2025 16:03:09 +0300 Subject: [PATCH 01/14] feat: add package metadata and Debian packaging configuration --- Cargo.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ed4c082..864e109 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,13 @@ name = "cachefetch" version = "0.0.2" edition = "2024" +authors = ["ErenayDev "] +description = "Fast CLI tool that shows cache file sizes" +repository = "https://github.com/ErenayDev/cachefetch" +license = "MIT" +keywords = ["cli", "cache", "disk", "size", "fetch"] +categories = ["command-line-utilities"] +readme = "README.md" [dependencies] byte-unit = "5.1.6" @@ -22,3 +29,19 @@ cachefetch is a very fast, configurable CLI fetch tool that shows your cache fil It supports multiple cache directories and provides clean table output. """ license = "MIT" + +[package.metadata.deb] +maintainer = "ErenayDev " +copyright = "2025, ErenayDev " +license-file = ["LICENSE", "4"] +extended-description = """ +A fast and configurable command-line tool for displaying cache directory sizes. +cachefetch scans common cache locations and displays their sizes in a clean table format. +""" +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/cachefetch", "usr/bin/", "755"], + ["README.md", "usr/share/doc/cachefetch/", "644"], +] From 5fd9d9701d6973991f5836bbec1230807d863793 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sat, 1 Nov 2025 16:03:36 +0300 Subject: [PATCH 02/14] refactor: deleted empty line --- Cargo.toml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 864e109..41a87c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,13 +2,6 @@ name = "cachefetch" version = "0.0.2" edition = "2024" -authors = ["ErenayDev "] -description = "Fast CLI tool that shows cache file sizes" -repository = "https://github.com/ErenayDev/cachefetch" -license = "MIT" -keywords = ["cli", "cache", "disk", "size", "fetch"] -categories = ["command-line-utilities"] -readme = "README.md" [dependencies] byte-unit = "5.1.6" From 86722953de3bc9c9b0740027bdb609580d87a664 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sat, 1 Nov 2025 16:05:15 +0300 Subject: [PATCH 03/14] feat: add package metadata and MIT license --- Cargo.toml | 11 +++++++++++ LICENSE | 21 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index 41a87c5..3d31911 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,17 @@ name = "cachefetch" version = "0.0.2" edition = "2024" +authors = ["ErenayDev "] +description = "Fast CLI tool that shows cache file sizes" +documentation = "https://github.com/ErenayDev/cachefetch#readme" +homepage = "https://github.com/ErenayDev/cachefetch" +repository = "https://github.com/ErenayDev/cachefetch" +license = "MIT" +license-file = "LICENSE" +keywords = ["cli", "cache", "disk", "size", "fetch"] +categories = ["command-line-utilities"] +readme = "README.md" + [dependencies] byte-unit = "5.1.6" crossterm = "0.29.0" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9b2bb0d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 ErenayDev + +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. From a9ccfa8ceb1e6657b08d0a24dee90ef54aac8f49 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sat, 1 Nov 2025 16:06:31 +0300 Subject: [PATCH 04/14] fix: removed license-file field --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3d31911..1166192 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,6 @@ license = "MIT" [package.metadata.deb] maintainer = "ErenayDev " copyright = "2025, ErenayDev " -license-file = ["LICENSE", "4"] extended-description = """ A fast and configurable command-line tool for displaying cache directory sizes. cachefetch scans common cache locations and displays their sizes in a clean table format. From af0777dcd58d1729e219590279be229d0d766e2c Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sat, 1 Nov 2025 16:07:05 +0300 Subject: [PATCH 05/14] fix: removed license-file field --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1166192..3307ec2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,6 @@ documentation = "https://github.com/ErenayDev/cachefetch#readme" homepage = "https://github.com/ErenayDev/cachefetch" repository = "https://github.com/ErenayDev/cachefetch" license = "MIT" -license-file = "LICENSE" keywords = ["cli", "cache", "disk", "size", "fetch"] categories = ["command-line-utilities"] readme = "README.md" From 7aa538c6285c1a44d399ae97ea7484e3af3900d7 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 11:58:01 +0300 Subject: [PATCH 06/14] docs: fix star history --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc8449b..1be5cde 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Just a placeholder now. Coming soon.. ## Star History -[![Star History Chart](https://api.star-history.com/svg?repos=ErenayDev/cachefetch&type=Date)](https://www.star-history.com/#ErenayDev/cachefetch&Date) +[![Star History Chart](https://api.star-history.com/svg?repos=ErenayDev/cachefetch&type=date&legend=top-left)](https://www.star-history.com/#ErenayDev/cachefetch&type=date&legend=top-left) ## Contributing Contributions are welcome! Here is how can you: From 846a3744e63200bb7dff0a014e3b9cbed95f7c21 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 11:58:50 +0300 Subject: [PATCH 07/14] chore: added terminal_size package, version 0.0.3 --- Cargo.lock | 416 ++++++++++++++--------------------------------------- Cargo.toml | 4 +- 2 files changed, 110 insertions(+), 310 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 62e1f1e..06d2cab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,12 +13,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - [[package]] name = "arrayvec" version = "0.7.6" @@ -122,23 +116,8 @@ name = "cachefetch" version = "0.0.2" dependencies = [ "byte-unit", - "crossterm 0.29.0", - "ratatui", -] - -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - -[[package]] -name = "castaway" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a" -dependencies = [ - "rustversion", + "crossterm", + "terminal_size", ] [[package]] @@ -153,20 +132,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" -[[package]] -name = "compact_str" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b79c4069c6cad78e2e0cdfcbd26275770669fb39fd308a752dc110e83b9af32" -dependencies = [ - "castaway", - "cfg-if", - "itoa", - "rustversion", - "ryu", - "static_assertions", -] - [[package]] name = "convert_case" version = "0.7.1" @@ -176,22 +141,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "crossterm" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" -dependencies = [ - "bitflags", - "crossterm_winapi", - "mio", - "parking_lot", - "rustix 0.38.44", - "signal-hook", - "signal-hook-mio", - "winapi", -] - [[package]] name = "crossterm" version = "0.29.0" @@ -204,7 +153,7 @@ dependencies = [ "document-features", "mio", "parking_lot", - "rustix 1.1.2", + "rustix", "signal-hook", "signal-hook-mio", "winapi", @@ -219,41 +168,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "darling" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 2.0.108", -] - -[[package]] -name = "darling_macro" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.108", -] - [[package]] name = "derive_more" version = "2.0.1" @@ -284,12 +198,6 @@ dependencies = [ "litrs", ] -[[package]] -name = "either" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" - [[package]] name = "equivalent" version = "1.0.2" @@ -306,18 +214,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "funty" version = "2.0.0" @@ -344,35 +240,12 @@ dependencies = [ "ahash", ] -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash", -] - [[package]] name = "hashbrown" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - [[package]] name = "indexmap" version = "2.12.0" @@ -383,37 +256,6 @@ dependencies = [ "hashbrown 0.16.0", ] -[[package]] -name = "indoc" -version = "2.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706" -dependencies = [ - "rustversion", -] - -[[package]] -name = "instability" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435d80800b936787d62688c927b6490e887c7ef5ff9ce922c6c6050fca75eb9a" -dependencies = [ - "darling", - "indoc", - "proc-macro2", - "quote", - "syn 2.0.108", -] - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.15" @@ -422,9 +264,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "js-sys" -version = "0.3.81" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -436,12 +278,6 @@ version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - [[package]] name = "linux-raw-sys" version = "0.11.0" @@ -469,15 +305,6 @@ version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" -[[package]] -name = "lru" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" -dependencies = [ - "hashbrown 0.15.5", -] - [[package]] name = "memchr" version = "2.7.6" @@ -534,12 +361,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - [[package]] name = "ppv-lite86" version = "0.2.21" @@ -632,27 +453,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "ratatui" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b" -dependencies = [ - "bitflags", - "cassowary", - "compact_str", - "crossterm 0.28.1", - "indoc", - "instability", - "itertools", - "lru", - "paste", - "strum", - "unicode-segmentation", - "unicode-truncate", - "unicode-width 0.2.0", -] - [[package]] name = "redox_syscall" version = "0.5.18" @@ -716,19 +516,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", -] - [[package]] name = "rustix" version = "1.1.2" @@ -738,7 +525,7 @@ dependencies = [ "bitflags", "errno", "libc", - "linux-raw-sys 0.11.0", + "linux-raw-sys", "windows-sys 0.61.2", ] @@ -850,40 +637,6 @@ version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.108", -] - [[package]] name = "syn" version = "1.0.109" @@ -912,6 +665,16 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +[[package]] +name = "terminal_size" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +dependencies = [ + "rustix", + "windows-sys 0.60.2", +] + [[package]] name = "tinyvec" version = "1.10.0" @@ -969,29 +732,6 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" -[[package]] -name = "unicode-truncate" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf" -dependencies = [ - "itertools", - "unicode-segmentation", - "unicode-width 0.1.14", -] - -[[package]] -name = "unicode-width" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" - -[[package]] -name = "unicode-width" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" - [[package]] name = "utf8-width" version = "0.1.7" @@ -1022,9 +762,9 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasm-bindgen" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ "cfg-if", "once_cell", @@ -1033,25 +773,11 @@ dependencies = [ "wasm-bindgen-shared", ] -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.104" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.108", - "wasm-bindgen-shared", -] - [[package]] name = "wasm-bindgen-macro" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1059,22 +785,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", "syn 2.0.108", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" dependencies = [ "unicode-ident", ] @@ -1113,7 +839,16 @@ version = "0.59.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" dependencies = [ - "windows-targets", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", ] [[package]] @@ -1131,14 +866,31 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -1147,48 +899,96 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + [[package]] name = "winnow" version = "0.7.13" diff --git a/Cargo.toml b/Cargo.toml index 3307ec2..46cfe77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cachefetch" -version = "0.0.2" +version = "0.0.3" edition = "2024" authors = ["ErenayDev "] @@ -16,7 +16,7 @@ readme = "README.md" [dependencies] byte-unit = "5.1.6" crossterm = "0.29.0" -ratatui = "0.29.0" +terminal_size = "0.4.3" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-{ version }{ archive-suffix }" From 5ceacaa6e92451908cc18bb0f93604210efe3bdd Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 11:59:04 +0300 Subject: [PATCH 08/14] chore: added terminal_size package, version 0.0.3 --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 06d2cab..cdc49fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -113,7 +113,7 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cachefetch" -version = "0.0.2" +version = "0.0.3" dependencies = [ "byte-unit", "crossterm", From bc273ed48ff71a5eed2f860a8b843a50f1a1801c Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 11:59:29 +0300 Subject: [PATCH 09/14] ci: added links to downloads table in releases --- .github/workflows/autoBuild.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/autoBuild.yml b/.github/workflows/autoBuild.yml index ab70a7f..047fcb4 100644 --- a/.github/workflows/autoBuild.yml +++ b/.github/workflows/autoBuild.yml @@ -134,19 +134,19 @@ jobs: uses: softprops/action-gh-release@v1 with: files: artifacts/**/* - name: "${{ steps.crate_info.outputs.name }} ${{ steps.crate_info.outputs.version }}" + name: "v${{ steps.crate_info.outputs.version }}" body: | ## Installation | System / Distribution | File | Description | |:----------------------|:-----|:------------| - | **Generic Linux** | `${{ steps.crate_info.outputs.name }}-x86_64-unknown-linux-gnu-${{ steps.crate_info.outputs.version }}.tar.gz` | Extract and run the binary | - | **Debian / Ubuntu** | `${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-amd64.deb` | Install using `dpkg -i` | - | **Fedora / CentOS / openSUSE** | `${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-1.x86_64.rpm` | Install using `rpm -i` or `dnf install` | - | **Windows** | `${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.exe` | Standalone executable | - | **Windows (Archive)** | `${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.zip` | Extract and run | - | **macOS Intel** | `${{ steps.crate_info.outputs.name }}-x86_64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz` | Extract and run the binary | - | **macOS Apple Silicon** | `${{ steps.crate_info.outputs.name }}-aarch64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz` | Extract and run the binary | + | **Generic Linux** | [${{ steps.crate_info.outputs.name }}-x86_64-unknown-linux-gnu-${{ steps.crate_info.outputs.version }}.tar.gz](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-x86_64-unknown-linux-gnu-${{ steps.crate_info.outputs.version }}.tar.gz) | Extract and run the binary | + | **Debian / Ubuntu** | [${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-amd64.deb](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-amd64.deb) | Install using `dpkg -i` | + | **Fedora / CentOS / openSUSE** | [${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-1.x86_64.rpm](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-1.x86_64.rpm) | Install using `rpm -i` or `dnf install` | + | **Windows** | [${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.exe](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.exe) | Standalone executable | + | **Windows (Archive)** | [${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.zip](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-x86_64-pc-windows-msvc-${{ steps.crate_info.outputs.version }}.zip) | Extract and run | + | **macOS Intel** | [${{ steps.crate_info.outputs.name }}-x86_64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-x86_64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz) | Extract and run the binary | + | **macOS Apple Silicon** | [${{ steps.crate_info.outputs.name }}-aarch64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz](https://github.com/${{ github.repository }}/releases/download/v${{ steps.crate_info.outputs.version }}/${{ steps.crate_info.outputs.name }}-aarch64-apple-darwin-${{ steps.crate_info.outputs.version }}.tar.gz) | Extract and run the binary | ## What's Changed From 60da7cc4a474ffc40338cd8dead4b76cad039160 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 12:04:50 +0300 Subject: [PATCH 10/14] feat: add support for different terminal sizes --- src/main.rs | 87 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 36 deletions(-) diff --git a/src/main.rs b/src/main.rs index 10692f3..6a20556 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,54 +1,69 @@ mod cache_folders; +mod get_os; mod get_size; use byte_unit::Byte; -use cache_folders::FOLDERS; +use get_os::detect_system; use get_size::get_size; -use ratatui::{ - Terminal, - backend::CrosstermBackend, - layout::{Constraint, Direction, Layout}, - style::{Color, Style}, - widgets::{Row, Table}, -}; -use std::{io, path::Path}; +use std::path::Path; -fn main() -> Result<(), Box> { - let stdout = io::stdout(); - let backend = CrosstermBackend::new(stdout); - let mut terminal = Terminal::new(backend)?; +use terminal_size::{Height, Width, terminal_size}; - let cache_data: Vec<(String, String)> = FOLDERS +fn main() -> Result<(), Box> { + let folders = detect_system(); + let mut cache_data: Vec<(String, u64)> = folders .iter() - .map(|folder| { + .filter_map(|folder| { let path = Path::new(folder); - let size = get_size(path); - let size_formatted = - Byte::from_u64(size.unwrap_or(0)).get_appropriate_unit(byte_unit::UnitType::Binary); - - (path.display().to_string(), format!("{:.2}", size_formatted)) + if let Ok(size) = get_size(path) { + if size > 0 { + Some((folder.to_string(), size)) + } else { + None + } + } else { + None + } }) .collect(); - terminal.draw(|f| { - let rows: Vec = cache_data - .iter() - .map(|(path, size)| Row::new(vec![path.clone(), size.clone()])) - .collect(); + cache_data.sort_by(|a, b| b.1.cmp(&a.1)); - let table = Table::new(rows, [Constraint::Min(50), Constraint::Min(10)]) - .header( - Row::new(vec!["Cache Folder", "Size"]).style(Style::default().fg(Color::Yellow)), - ) - .style(Style::default().fg(Color::White)); + let terminal_width = if let Some((Width(w), Height(_))) = terminal_size() { + w as usize + } else { + 80 + }; + + let size_column_width = 15; + let padding = 3; + let path_column_width = terminal_width.saturating_sub(size_column_width + padding); - let area = Layout::default() - .direction(Direction::Vertical) - .constraints([Constraint::Length(cache_data.len() as u16 + 2)]) - .split(f.area())[0]; + println!( + "{:15}", + "Cache Folder", + "Size", + width = path_column_width + ); + println!("{}", "─".repeat(terminal_width)); - f.render_widget(table, area); - })?; + for (path, size) in cache_data { + let size_formatted = Byte::from_u64(size).get_appropriate_unit(byte_unit::UnitType::Binary); + let truncated_path = if path.len() > path_column_width { + format!( + "...{}", + &path[path.len().saturating_sub(path_column_width - 3)..] + ) + } else { + path + }; + println!( + "{:15.2}", + truncated_path, + size_formatted, + width = path_column_width + ); + } Ok(()) } From a6fb738c8cc55c6c717962d0713e2301856d9360 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 12:05:10 +0300 Subject: [PATCH 11/14] feat: add support for different OS --- src/get_size.rs | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/src/get_size.rs b/src/get_size.rs index 15a1f2e..c8943f0 100644 --- a/src/get_size.rs +++ b/src/get_size.rs @@ -2,13 +2,25 @@ use std::{env, fs, path::Path}; pub fn get_size(path: &Path) -> std::io::Result { let expanded_path = if path.starts_with("~") { - let home = env::var("HOME").map_err(|_| { + if let Ok(home) = env::var("HOME") { + Path::new(&home).join(path.strip_prefix("~").unwrap()) + } else if let Ok(home) = env::var("USERPROFILE") { + Path::new(&home).join(path.strip_prefix("~").unwrap()) + } else { + return Err(std::io::Error::new( + std::io::ErrorKind::NotFound, + "HOME/USERPROFILE environment variable not found", + )); + } + } else if path.starts_with("%") && path.ends_with("%") { + let var_name = path.to_str().unwrap().trim_matches('%'); + let var_value = env::var(var_name).map_err(|_| { std::io::Error::new( std::io::ErrorKind::NotFound, - "HOME environment variable not found", + format!("{} environment variable not found", var_name), ) })?; - Path::new(&home).join(path.strip_prefix("~").unwrap()) + Path::new(&var_value).to_path_buf() } else { path.to_path_buf() }; @@ -17,18 +29,22 @@ pub fn get_size(path: &Path) -> std::io::Result { if metadata.is_file() { Ok(metadata.len()) } else if metadata.is_dir() { - let mut total = 0; - if let Ok(entries) = fs::read_dir(&expanded_path) { - for entry in entries { - if let Ok(entry) = entry { - if let Ok(size) = get_size(&entry.path()) { - total += size; - } + calculate_dir_size(&expanded_path) + } else { + Ok(0) + } +} + +fn calculate_dir_size(path: &Path) -> std::io::Result { + let mut total = 0; + if let Ok(entries) = fs::read_dir(path) { + for entry in entries { + if let Ok(entry) = entry { + if let Ok(size) = get_size(&entry.path()) { + total += size; } } } - Ok(total) - } else { - Ok(0) } + Ok(total) } From 3967ffe6458b0cd26f5bf1275d63902af778710f Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 12:05:18 +0300 Subject: [PATCH 12/14] feat: add support for different OS --- src/cache_folders.rs | 83 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/src/cache_folders.rs b/src/cache_folders.rs index 14b7c6f..ac6c7fb 100644 --- a/src/cache_folders.rs +++ b/src/cache_folders.rs @@ -1 +1,82 @@ -pub const FOLDERS: &[&str] = &["~/.cache", "~/.npm", "~/.bun/install/cache"]; +pub const LINUX_FOLDERS: &[&str] = &[ + "~/.cache/pip", + "~/.cache/yarn", + "~/.cache/pnpm", + "~/.cache/deno", + "~/.cache/go-build", + "~/.cache/pre-commit", + "~/.cache/black", + "~/.cache/mypy", + "~/.cache/eslint", + "~/.cache/prettier", + "~/.npm/_cacache", + "~/.npm/_logs", + "~/.yarn/cache", + "~/.bun/install/cache", + "~/.cargo/registry/cache", + "~/.cargo/registry/src", + "~/.cargo/git/db", + "~/.gem/cache", + "~/.bundle/cache", + "~/.composer/cache", + "~/.cache/composer", + "~/.gradle/caches", + "~/.sbt/boot", + "~/.ivy2/cache", + "~/.nuget/packages", +]; + +pub const DEBIAN_UBUNTU_FOLDERS: &[&str] = &["/var/cache/apt/archives", "/var/cache/debconf"]; + +pub const RHEL_CENTOS_FOLDERS: &[&str] = &["/var/cache/yum", "/var/cache/dnf"]; + +pub const FEDORA_FOLDERS: &[&str] = &["/var/cache/dnf"]; + +pub const ARCH_FOLDERS: &[&str] = &["/var/cache/pacman/pkg", "~/.cache/yay", "~/.cache/paru"]; + +pub const OPENSUSE_FOLDERS: &[&str] = &["/var/cache/zypp/packages"]; + +pub const MACOS_FOLDERS: &[&str] = &[ + "~/Library/Caches/pip", + "~/Library/Caches/yarn", + "~/Library/Caches/pnpm", + "~/Library/Caches/deno", + "~/Library/Caches/go-build", + "~/Library/Caches/com.github.wez.wezterm", + "~/Library/Caches/Homebrew", + "~/.npm/_cacache", + "~/.npm/_logs", + "~/.yarn/cache", + "~/.bun/install/cache", + "~/.cargo/registry/cache", + "~/.cargo/registry/src", + "~/.cargo/git/db", + "~/.gem/cache", + "~/.bundle/cache", + "~/.composer/cache", + "~/.gradle/caches", + "~/.sbt/boot", + "~/.ivy2/cache", + "~/.nuget/packages", +]; + +pub const WINDOWS_FOLDERS: &[&str] = &[ + "%LOCALAPPDATA%\\pip\\cache", + "%LOCALAPPDATA%\\yarn\\cache", + "%LOCALAPPDATA%\\pnpm\\cache", + "%LOCALAPPDATA%\\deno", + "%LOCALAPPDATA%\\go-build", + "%APPDATA%\\npm-cache", + "%USERPROFILE%\\.cargo\\registry\\cache", + "%USERPROFILE%\\.cargo\\registry\\src", + "%USERPROFILE%\\.cargo\\git\\db", + "%USERPROFILE%\\.gem\\cache", + "%USERPROFILE%\\.bundle\\cache", + "%APPDATA%\\Composer\\cache", + "%USERPROFILE%\\.gradle\\caches", + "%USERPROFILE%\\.sbt\\boot", + "%USERPROFILE%\\.ivy2\\cache", + "%USERPROFILE%\\.nuget\\packages", + "%TEMP%", + "%LOCALAPPDATA%\\Temp", +]; From 3f35eacc4b2bffc3bfe34f4468663dc01caaf6a9 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 12:05:27 +0300 Subject: [PATCH 13/14] feat: add support for different OS --- src/get_os.rs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/get_os.rs diff --git a/src/get_os.rs b/src/get_os.rs new file mode 100644 index 0000000..57ac05f --- /dev/null +++ b/src/get_os.rs @@ -0,0 +1,29 @@ +use std::fs; + +pub fn detect_system() -> &'static [&'static str] { + if cfg!(target_os = "windows") { + return super::cache_folders::WINDOWS_FOLDERS; + } + + if cfg!(target_os = "macos") { + return super::cache_folders::MACOS_FOLDERS; + } + + let mut folders = super::cache_folders::LINUX_FOLDERS.to_vec(); + + if let Ok(contents) = fs::read_to_string("/etc/os-release") { + if contents.contains("Ubuntu") || contents.contains("Debian") { + folders.extend_from_slice(super::cache_folders::DEBIAN_UBUNTU_FOLDERS); + } else if contents.contains("Fedora") { + folders.extend_from_slice(super::cache_folders::FEDORA_FOLDERS); + } else if contents.contains("CentOS") || contents.contains("Red Hat") { + folders.extend_from_slice(super::cache_folders::RHEL_CENTOS_FOLDERS); + } else if contents.contains("Arch") || contents.contains("Manjaro") { + folders.extend_from_slice(super::cache_folders::ARCH_FOLDERS); + } else if contents.contains("openSUSE") { + folders.extend_from_slice(super::cache_folders::OPENSUSE_FOLDERS); + } + } + + Box::leak(folders.into_boxed_slice()) +} From bf6adcb7109d9e38214a4bb741580baf56996ac4 Mon Sep 17 00:00:00 2001 From: ErenayDev Date: Sun, 2 Nov 2025 12:14:19 +0300 Subject: [PATCH 14/14] docs: update changelog --- CHANGELOG.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80f6e9b..5efc5ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,59 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### Bug Fixes + +- Removed license-file field + +### Documentation + +- Fix star history + +### Features + +- Add package metadata and Debian packaging configuration +- Add package metadata and MIT license +- Add support for different terminal sizes +- Add support for different OS + +### Miscellaneous Tasks + +- Added terminal_size package, version 0.0.3 + +### Refactor + +- Deleted empty line + +### Ci + +- Added links to downloads table in releases + +## [0.0.2] - 2025-11-01 + +### Bug Fixes + +- Add rpm metadata + +### Documentation + +- Add README + +### Miscellaneous Tasks + +- Change version from 0.1.0 to 0.0.2 and fixed binstall format + +### Ci + +- Created dependabot.yml for cargo ecosystem +- Updated for new build platforms. added Swatinem/rust-cache +- Fix the RPM package error + +## [0.0.1] - 2025-10-31 + +### Documentation + +- Update changelog + ### Features - Initial commit