Commit Graph

632 Commits

Author SHA1 Message Date
znley
4e6054979a
chore(deps): bump libc from 0.2.146 to 0.2.155 (#170)
libc crate support loongarch64-alpine-linux-musl since 0.2.155
2024-06-04 15:06:18 +03:00
Orhun Parmaksız
b232810be7
docs(license): update copyright years 2024-05-29 23:45:04 +03:00
Orhun Parmaksız
1dfa91d1ce
docs(readme): update Twitter handle 2024-05-22 11:59:34 +03:00
Orhun Parmaksız
81ec650994
fix(lint): apply clippy suggestions 2024-05-05 14:08:51 +03:00
eldaniz
dd51d17b26
refactor(tui): improve the termion panic hook (#169)
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-04-05 15:20:07 +03:00
Orhun Parmaksız
b47e91a0a2
fix(lint): apply clippy suggestions 2024-03-31 14:17:02 +03:00
Orhun Parmaksız
48e5ad6cc6
docs(readme): mention how to set transparent background (#153) 2023-11-17 08:51:34 +03:00
Matthias Beyer
f0b811d5f6
refactor(sysctl): Refactor some controller code (#146)
* Refactor if-let-Some into less complex expression

This makes the code a bit less "mutable", so to say.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Simplify boolean expression

This patch refactors the two nested if expressions into one if.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Refactor for-iteration into fn chain

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Replace if-else with fn chaining

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Replace if-else with fn chaining

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Use explicit import for error type

---------

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-10-28 15:18:09 +02:00
Matthias Beyer
46240e4a9c
refactor(config): simplify config path finding (#145)
I just found that this could be written with less code, so that's what
I did here.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-10-27 14:34:19 +02:00
dependabot[bot]
76e2224115
chore(deps): bump serde from 1.0.188 to 1.0.189 (#140)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.189.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 11:26:05 +02:00
dependabot[bot]
66809db3b8
chore(deps): bump thiserror from 1.0.48 to 1.0.49 (#139)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 15:42:33 +02:00
dependabot[bot]
a4247d30d0
chore(deps): bump rayon from 1.7.0 to 1.8.0 (#138)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 10:22:59 +02:00
dependabot[bot]
276d79eab9
chore(deps): bump unicode-width from 0.1.10 to 0.1.11 (#137)
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.10 to 0.1.11.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.10...v0.1.11)

---
updated-dependencies:
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 11:09:46 +02:00
Orhun Parmaksız
fe0e1201bf
chore(release): prepare for v0.4.4 2023-09-19 13:11:05 +03:00
Orhun Parmaksız
9ef0d472a9
fix(test): update the tui render test 2023-09-19 13:05:48 +03:00
Orhun Parmaksız
52aaf33d17
refactor(ci): simplify the installation of cargo-tarpaulin 2023-09-19 13:01:29 +03:00
Orhun Parmaksız
a5f0cab864
fix(ci): update cargo-tarpaulin arguments 2023-09-19 12:57:05 +03:00
Orhun Parmaksız
6ffd8e4960
revert(deps): bump codecov/codecov-action from 3 to 4 (#134)
This reverts commit dee4a9f2d7.
2023-09-19 12:12:12 +03:00
Orhun Parmaksız
4bc53d6ed4
chore(deps): bump ratatui to 0.23.0 2023-09-19 11:58:50 +03:00
dependabot[bot]
dee4a9f2d7
chore(deps): bump codecov/codecov-action from 3 to 4 (#134)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 08:51:17 +02:00
Orhun Parmaksız
d914543615
chore(release): prepare for v0.4.3 2023-09-14 21:04:57 +03:00
Orhun Parmaksız
ab3bdb4dff
chore(docker): bump the Rust version in Dockerfile 2023-09-14 21:01:54 +03:00
dependabot[bot]
7bb412d15e
chore(deps): bump serde_json from 1.0.106 to 1.0.107 (#132)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.106 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 17:53:49 +02:00
Orhun Parmaksız
1b1aa97be4
feat(tui): add a panic hook to reset terminal upon panic (#112) 2023-09-14 18:51:49 +03:00
Orhun Parmaksız
3f862ffcdd
style(tui): use better colors when background color is set to reset 2023-09-13 23:24:13 +03:00
Orhun Parmaksız
fed4fad7e0
style(script): format the scripts 2023-09-13 20:44:23 +03:00
Orhun Parmaksız
62fa582e40
chore(changelog): fix the repository link 2023-09-13 20:42:57 +03:00
Orhun Parmaksız
d0fd5baf7c
chore(deps): pin ratatui to 0.22.0 2023-09-13 20:41:38 +03:00
dependabot[bot]
9d78748626
chore(deps): bump ratatui from 0.22.0 to 0.23.0 (#131)
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui-org/ratatui/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 01:48:13 +00:00
dependabot[bot]
4398504cc1
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#130)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 01:13:44 +00:00
dependabot[bot]
a39c0ca01d
chore(deps): bump docker/metadata-action from 4 to 5 (#129)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 01:13:40 +00:00
dependabot[bot]
fdb41fffa6
chore(deps): bump docker/login-action from 2 to 3 (#128)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 01:13:37 +00:00
dependabot[bot]
9db61e1919
chore(deps): bump docker/build-push-action from 4 to 5 (#127)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 01:13:33 +00:00
Orhun Parmaksız
cd82dd7ee9
chore(deps): pin ratatui to 0.22.0 2023-09-12 11:25:35 +03:00
dependabot[bot]
119e7462da
chore(deps): bump ratatui from 0.22.0 to 0.23.0 (#126)
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui-org/ratatui/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 01:55:55 +00:00
Orhun Parmaksız
6cda178d61
chore(deps): bump ratatui dependency 2023-09-11 13:42:43 +03:00
dependabot[bot]
b375000f5a
chore(deps): bump serde_json from 1.0.105 to 1.0.106 (#125)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 01:48:50 +00:00
dependabot[bot]
19f4344f7a
chore(deps): bump actions/checkout from 3 to 4 (#124)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 01:48:41 +00:00
dependabot[bot]
ccee53016f
chore(deps): bump thiserror from 1.0.47 to 1.0.48 (#123)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 01:56:28 +00:00
dependabot[bot]
3cce812bf1
chore(deps): bump serde from 1.0.186 to 1.0.188 (#122)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.186 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 01:18:01 +00:00
dependabot[bot]
02933a8858
chore(deps): bump serde from 1.0.185 to 1.0.186 (#121)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.185 to 1.0.186.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 01:45:08 +00:00
dependabot[bot]
5da8fd61e1
chore(deps): bump serde from 1.0.183 to 1.0.185 (#120)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 01:54:43 +00:00
dependabot[bot]
526c03adea
chore(deps): bump tui-logger from 0.9.4 to 0.9.5 (#119)
Bumps [tui-logger](https://github.com/gin66/tui-logger) from 0.9.4 to 0.9.5.
- [Changelog](https://github.com/gin66/tui-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin66/tui-logger/compare/v0.9.4...v0.9.5)

---
updated-dependencies:
- dependency-name: tui-logger
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 01:46:52 +00:00
dependabot[bot]
5518d9c18d
chore(deps): bump thiserror from 1.0.46 to 1.0.47 (#118)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-18 01:35:36 +00:00
dependabot[bot]
6b5f25b1a7
chore(deps): bump serde_json from 1.0.104 to 1.0.105 (#117)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 08:21:24 +00:00
dependabot[bot]
76a3908f1c
chore(deps): bump thiserror from 1.0.44 to 1.0.46 (#116)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 08:21:20 +00:00
dependabot[bot]
4dcd23bfe4
chore(deps): bump tui-logger from 0.9.2 to 0.9.4 (#113)
Bumps [tui-logger](https://github.com/gin66/tui-logger) from 0.9.2 to 0.9.4.
- [Changelog](https://github.com/gin66/tui-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin66/tui-logger/compare/0.9.2...v0.9.4)

---
updated-dependencies:
- dependency-name: tui-logger
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 08:21:15 +00:00
Orhun Parmaksız
8cfa588f93
chore(mergify): add mergify config for automatic merge 2023-08-16 11:20:10 +03:00
bors[bot]
3863db14b2
Merge #115
115: chore(deps): bump serde from 1.0.180 to 1.0.183 r=orhun a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.183.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 09:00:15 +00:00
dependabot[bot]
16a3d5450f
chore(deps): bump serde from 1.0.180 to 1.0.183
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.183)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 01:06:50 +00:00