Commit Graph

613 Commits

Author SHA1 Message Date
cyqsimon
b0bbf44559 Write changelog 2024-12-03 14:22:22 +08:00
cyqsimon
c9ce4d99be Bump pnet & packet-builder
Switched to a branch for `packet-builder` with matching `pnet` version
2024-12-03 14:18:13 +08:00
cyqsimon
1de0e68407 Cargo.toml formatting 2024-12-03 14:15:26 +08:00
cyqsimon
0847b05fd6 Merge pull request #443 from imsnif/dependabot/cargo/dependencies-bf8b9a3932
chore(deps): bump the dependencies group across 1 directory with 17 updates
2024-12-03 13:59:01 +08:00
cyqsimon
5274322b31 Revert pnet bump 2024-12-03 13:52:33 +08:00
dependabot[bot]
78ac5bef35 chore(deps): bump the dependencies group across 1 directory with 17 updates
Bumps the dependencies group with 17 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.89` | `1.0.93` |
| [clap-verbosity-flag](https://github.com/clap-rs/clap-verbosity-flag) | `2.2.2` | `3.0.1` |
| [clap](https://github.com/clap-rs/clap) | `4.5.19` | `4.5.21` |
| [pnet](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [pnet_macros_support](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [ratatui](https://github.com/ratatui/ratatui) | `0.28.1` | `0.29.0` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.64` | `2.0.3` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.40.0` | `1.41.1` |
| [regex](https://github.com/rust-lang/regex) | `1.11.0` | `1.11.1` |
| [netstat2](https://github.com/ohadravid/netstat2-rs) | `0.9.1` | `0.11.0` |
| [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.32.0` | `0.32.1` |
| [insta](https://github.com/mitsuhiko/insta) | `1.40.0` | `1.41.1` |
| [pnet_base](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.32` | `4.5.38` |
| [clap_mangen](https://github.com/clap-rs/clap) | `0.2.23` | `0.2.24` |
| [http_req](https://github.com/jayjamesjay/http_req) | `0.12.0` | `0.13.0` |
| [zip](https://github.com/zip-rs/zip2) | `2.2.0` | `2.2.1` |



Updates `anyhow` from 1.0.89 to 1.0.93
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.93)

Updates `clap-verbosity-flag` from 2.2.2 to 3.0.1
- [Changelog](https://github.com/clap-rs/clap-verbosity-flag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.2...v3.0.1)

Updates `clap` from 4.5.19 to 4.5.21
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.19...clap_complete-v4.5.21)

Updates `pnet` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `pnet_macros_support` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `ratatui` from 0.28.1 to 0.29.0
- [Release notes](https://github.com/ratatui/ratatui/releases)
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui/ratatui/compare/v0.28.1...v0.29.0)

Updates `thiserror` from 1.0.64 to 2.0.3
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...2.0.3)

Updates `tokio` from 1.40.0 to 1.41.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.1)

Updates `regex` from 1.11.0 to 1.11.1
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.0...1.11.1)

Updates `netstat2` from 0.9.1 to 0.11.0
- [Release notes](https://github.com/ohadravid/netstat2-rs/releases)
- [Commits](https://github.com/ohadravid/netstat2-rs/compare/v0.9.1...v0.11.0)

Updates `sysinfo` from 0.32.0 to 0.32.1
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Updates `insta` from 1.40.0 to 1.41.1
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.40.0...1.41.1)

Updates `pnet_base` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `clap_complete` from 4.5.32 to 4.5.38
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.32...clap_complete-v4.5.38)

Updates `clap_mangen` from 0.2.23 to 0.2.24
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.23...clap_mangen-v0.2.24)

Updates `http_req` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/jayjamesjay/http_req/releases)
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.12.0...v0.13.0)

Updates `zip` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap-verbosity-flag
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_macros_support
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: netstat2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sysinfo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: insta
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_base
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap_mangen
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: http_req
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 01:11:14 +00:00
cyqsimon
01e5fedeec Merge pull request #439 from YJDoc2/remove_derivative
replace derivative crate with derive_more crate
2024-10-17 14:16:39 +08:00
Yashodhan Joshi
de4bdc5a59 fix order of imports in display_bandwidth
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-10-17 10:16:27 +05:30
Yashodhan Joshi
d7761ad094 update Changelog
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-10-17 10:15:29 +05:30
Yashodhan Joshi
6a4725971d bump msrv to 1.75.0
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-10-17 10:13:29 +05:30
Yashodhan Joshi
99cdda6cb6 replace derivative with derive_more crate
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-10-16 15:25:34 +05:30
cyqsimon
6314f1c63a Merge pull request #438 from imsnif/contact
Update CONTRIBUTING information
2024-10-09 23:45:19 +08:00
cyqsimon
6f0778f2e2 Write changelog 2024-10-09 23:45:02 +08:00
cyqsimon
9454f51882 Update CONTRIBUTING information 2024-10-09 23:41:46 +08:00
cyqsimon
72219da4f3 Merge pull request #435 from imsnif/cleanup
Minor cleanup and optimisations
2024-10-09 12:55:22 +08:00
cyqsimon
a06ba84b58 Write changelog 2024-10-09 12:36:09 +08:00
cyqsimon
58fb01a69d Rename Utilization::update to Utilization::ingest 2024-10-09 12:35:47 +08:00
cyqsimon
2193cf93db Rename ui_offset -> table_cycle_offset 2024-10-09 12:35:47 +08:00
cyqsimon
dfd9d93ec9 Move show_dns into UIState
- Plus some variable naming cleanup
2024-10-09 12:35:47 +08:00
cyqsimon
5c6419c85c Make write_to_stdout take a &str instead of a String 2024-10-09 12:35:47 +08:00
cyqsimon
cd81be8c61 Fix changelog
- 0.23.1 section added retroactively
- Incorrect title levels fixed
2024-10-09 12:34:45 +08:00
pando85
8f3a8cfc02 Add build optimizations for release binary (#434)
* Add build optimizations for release binary

* Put changelog entry in `Changed` section

---------

Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-10-08 23:09:17 +08:00
cyqsimon
4faccd1f43 Bump version v0.23.1 2024-10-08 14:56:26 +08:00
cyqsimon
a38f60c25f chore: cargo update (#433) 2024-10-08 14:55:09 +08:00
cyqsimon
edfaf9cce0 Merge pull request #432 from imsnif/clippy
Fix `clippy::needless_lifetimes` warnings on nightly
2024-10-08 14:51:46 +08:00
cyqsimon
0f411524d8 Write changelog 2024-10-08 14:51:29 +08:00
cyqsimon
75122fa663 Fix clippy::needless_lifetimes warnings on nightly
The warnings in `derivative`'s derived code are not something we can fix.
2024-10-08 14:48:45 +08:00
cyqsimon
92de00bb62 Merge pull request #431 from imsnif/windows-fix
Fix breaking changes of `sysinfo` crate
2024-10-08 14:39:17 +08:00
cyqsimon
a1923df631 Write changelog 2024-10-08 14:38:29 +08:00
cyqsimon
b313cd1ea6 Fix breaking changes of sysinfo crate 2024-10-08 14:36:02 +08:00
cyqsimon
a40c39206d Merge pull request #430 from imsnif/dependabot/cargo/dependencies-6011136989
chore(deps): bump the dependencies group across 1 directory with 21 updates
2024-10-08 13:53:32 +08:00
cyqsimon
5b651dd304 Rollback pnet* crates to v0.34.0
`packet-builder` has issues with v0.35.0
2024-10-08 13:50:37 +08:00
cyqsimon
78d3984ede Fix breaking changes of ratatui 0.28.0
See https://github.com/ratatui/ratatui/blob/main/BREAKING-CHANGES.md#v0280
2024-10-08 13:48:05 +08:00
dependabot[bot]
0d2a301210 chore(deps): bump the dependencies group across 1 directory with 21 updates
Bumps the dependencies group with 21 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.86` | `1.0.89` |
| [async-trait](https://github.com/dtolnay/async-trait) | `0.1.81` | `0.1.83` |
| [clap-verbosity-flag](https://github.com/clap-rs/clap-verbosity-flag) | `2.2.1` | `2.2.2` |
| [clap](https://github.com/clap-rs/clap) | `4.5.13` | `4.5.19` |
| [crossterm](https://github.com/crossterm-rs/crossterm) | `0.27.0` | `0.28.1` |
| [once_cell](https://github.com/matklad/once_cell) | `1.19.0` | `1.20.2` |
| [pnet](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [pnet_macros_support](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [ratatui](https://github.com/ratatui/ratatui) | `0.27.0` | `0.28.1` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.63` | `1.0.64` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.40.0` |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | `0.1.13` | `0.2.0` |
| [procfs](https://github.com/eminence/procfs) | `0.16.0` | `0.17.0` |
| [regex](https://github.com/rust-lang/regex) | `1.10.5` | `1.11.0` |
| [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.31.0` | `0.32.0` |
| [insta](https://github.com/mitsuhiko/insta) | `1.39.0` | `1.40.0` |
| [pnet_base](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [rstest](https://github.com/la10736/rstest) | `0.21.0` | `0.23.0` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.12` | `4.5.32` |
| [http_req](https://github.com/jayjamesjay/http_req) | `0.11.1` | `0.12.0` |
| [zip](https://github.com/zip-rs/zip2) | `2.1.6` | `2.2.0` |



Updates `anyhow` from 1.0.86 to 1.0.89
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.89)

Updates `async-trait` from 0.1.81 to 0.1.83
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.81...0.1.83)

Updates `clap-verbosity-flag` from 2.2.1 to 2.2.2
- [Changelog](https://github.com/clap-rs/clap-verbosity-flag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.1...v2.2.2)

Updates `clap` from 4.5.13 to 4.5.19
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...clap_complete-v4.5.19)

Updates `crossterm` from 0.27.0 to 0.28.1
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Updates `once_cell` from 1.19.0 to 1.20.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.2)

Updates `pnet` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `pnet_macros_support` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `ratatui` from 0.27.0 to 0.28.1
- [Release notes](https://github.com/ratatui/ratatui/releases)
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui/ratatui/compare/v0.27.0...v0.28.1)

Updates `thiserror` from 1.0.63 to 1.0.64
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64)

Updates `tokio` from 1.39.2 to 1.40.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.40.0)

Updates `unicode-width` from 0.1.13 to 0.2.0
- [Commits](https://github.com/unicode-rs/unicode-width/commits)

Updates `procfs` from 0.16.0 to 0.17.0
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.16.0...v0.17.0)

Updates `regex` from 1.10.5 to 1.11.0
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.11.0)

Updates `sysinfo` from 0.31.0 to 0.32.0
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.31.0...v0.32.0)

Updates `insta` from 1.39.0 to 1.40.0
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.39.0...1.40.0)

Updates `pnet_base` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `rstest` from 0.21.0 to 0.23.0
- [Release notes](https://github.com/la10736/rstest/releases)
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/la10736/rstest/compare/v0.21.0...v0.23.0)

Updates `clap_complete` from 4.5.12 to 4.5.32
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.12...clap_complete-v4.5.32)

Updates `http_req` from 0.11.1 to 0.12.0
- [Release notes](https://github.com/jayjamesjay/http_req/releases)
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.11.1...v0.12.0)

Updates `zip` from 2.1.6 to 2.2.0
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/v2.1.6...v2.2.0)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap-verbosity-flag
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_macros_support
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: procfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sysinfo
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: insta
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_base
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: rstest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: http_req
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 05:28:02 +00:00
cyqsimon
cc11fcbefc Merge pull request #429 from sigmaSd/p
Exit gracefully when there is a broken pipe error
2024-10-08 11:27:00 +08:00
cyqsimon
70822fc970 Write changelog 2024-10-08 11:24:49 +08:00
Nbiba Bedis
3f160aaa9e chore: exit gracefully when there is a broken pipe error 2024-10-07 19:34:14 +01:00
dependabot[bot]
ee7643c25a chore(deps): bump mozilla-actions/sccache-action (#428)
Bumps the github-actions group with 1 update: [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).


Updates `mozilla-actions/sccache-action` from 0.0.5 to 0.0.6
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases)
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: mozilla-actions/sccache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:06:47 +08:00
cyqsimon
1ca69e0691 CI: Use Powershell Compress-Archive to create Windows binary zip (#424)
* CI: Use Powershell Compress-Archive to create Windows binary zip

- Fixes #423

* Write changelog
2024-08-18 16:29:49 +08:00
cyqsimon
eb74967911 Bump version to 0.23.0
- Closes #422
v0.23.0
2024-08-17 16:01:45 +08:00
cyqsimon
894ea31983 Update sysinfo API calls (#421)
- Fixes #420
2024-08-13 10:14:04 +08:00
dependabot[bot]
4dba5634e1 chore(deps): bump the dependencies group with 14 updates (#418)
* chore(deps): bump the dependencies group with 14 updates

Bumps the dependencies group with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [async-trait](https://github.com/dtolnay/async-trait) | `0.1.80` | `0.1.81` |
| [clap-verbosity-flag](https://github.com/clap-rs/clap-verbosity-flag) | `2.2.0` | `2.2.1` |
| [clap](https://github.com/clap-rs/clap) | `4.5.8` | `4.5.13` |
| [crossterm](https://github.com/crossterm-rs/crossterm) | `0.27.0` | `0.28.0` |
| [pnet](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [pnet_macros_support](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.63` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.38.0` | `1.39.2` |
| [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.30.12` | `0.31.0` |
| [pnet_base](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.7` | `4.5.12` |
| [clap_mangen](https://github.com/clap-rs/clap) | `0.2.22` | `0.2.23` |
| [http_req](https://github.com/jayjamesjay/http_req) | `0.11.0` | `0.11.1` |
| [zip](https://github.com/zip-rs/zip2) | `1.1.4` | `2.1.6` |


Updates `async-trait` from 0.1.80 to 0.1.81
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.80...0.1.81)

Updates `clap-verbosity-flag` from 2.2.0 to 2.2.1
- [Changelog](https://github.com/clap-rs/clap-verbosity-flag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.0...v2.2.1)

Updates `clap` from 4.5.8 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.8...v4.5.13)

Updates `crossterm` from 0.27.0 to 0.28.0
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.27.0...0.28)

Updates `pnet` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `pnet_macros_support` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `thiserror` from 1.0.61 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63)

Updates `tokio` from 1.38.0 to 1.39.2
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.39.2)

Updates `sysinfo` from 0.30.12 to 0.31.0
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits/v0.31.0)

Updates `pnet_base` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `clap_complete` from 4.5.7 to 4.5.12
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.7...clap_complete-v4.5.12)

Updates `clap_mangen` from 0.2.22 to 0.2.23
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.22...clap_mangen-v0.2.23)

Updates `http_req` from 0.11.0 to 0.11.1
- [Release notes](https://github.com/jayjamesjay/http_req/releases)
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.11.0...v0.11.1)

Updates `zip` from 1.1.4 to 2.1.6
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/v1.1.4...v2.1.6)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap-verbosity-flag
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_macros_support
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sysinfo
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_base
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap_mangen
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: http_req
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert updates of breaking deps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-08-08 09:57:04 +08:00
dependabot[bot]
4b0a7118eb chore(deps): bump openssl from 0.10.64 to 0.10.66 (#417)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 10:25:47 +08:00
dependabot[bot]
8e1a5dcfb9 chore(deps): bump the dependencies group across 1 directory with 19 updates (#416)
* chore(deps): bump the dependencies group across 1 directory with 19 updates

Bumps the dependencies group with 18 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.82` | `1.0.86` |
| [clap](https://github.com/clap-rs/clap) | `4.5.4` | `4.5.8` |
| [itertools](https://github.com/rust-itertools/itertools) | `0.12.1` | `0.13.0` |
| [log](https://github.com/rust-lang/log) | `0.4.21` | `0.4.22` |
| [pnet](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [pnet_macros_support](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [ratatui](https://github.com/ratatui-org/ratatui) | `0.26.2` | `0.27.0` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.58` | `1.0.61` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.37.0` | `1.38.0` |
| [strum](https://github.com/Peternator7/strum) | `0.26.2` | `0.26.3` |
| [regex](https://github.com/rust-lang/regex) | `1.10.4` | `1.10.5` |
| [insta](https://github.com/mitsuhiko/insta) | `1.38.0` | `1.39.0` |
| [pnet_base](https://github.com/libpnet/libpnet) | `0.34.0` | `0.35.0` |
| [rstest](https://github.com/la10736/rstest) | `0.19.0` | `0.21.0` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.2` | `4.5.7` |
| [clap_mangen](https://github.com/clap-rs/clap) | `0.2.20` | `0.2.22` |
| [http_req](https://github.com/jayjamesjay/http_req) | `0.10.2` | `0.11.0` |
| [zip](https://github.com/zip-rs/zip2) | `0.6.6` | `1.1.4` |



Updates `anyhow` from 1.0.82 to 1.0.86
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.86)

Updates `clap` from 4.5.4 to 4.5.8
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.4...v4.5.8)

Updates `itertools` from 0.12.1 to 0.13.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0)

Updates `log` from 0.4.21 to 0.4.22
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22)

Updates `pnet` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `pnet_macros_support` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `ratatui` from 0.26.2 to 0.27.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.26.2...v0.27.0)

Updates `thiserror` from 1.0.58 to 1.0.61
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.61)

Updates `tokio` from 1.37.0 to 1.38.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

Updates `unicode-width` from 0.1.11 to 0.1.13
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.13)

Updates `strum` from 0.26.2 to 0.26.3
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.2...v0.26.3)

Updates `regex` from 1.10.4 to 1.10.5
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.4...1.10.5)

Updates `insta` from 1.38.0 to 1.39.0
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.38.0...1.39.0)

Updates `pnet_base` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

Updates `rstest` from 0.19.0 to 0.21.0
- [Release notes](https://github.com/la10736/rstest/releases)
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/la10736/rstest/compare/v0.19.0...v0.21.0)

Updates `clap_complete` from 4.5.2 to 4.5.7
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.2...clap_complete-v4.5.7)

Updates `clap_mangen` from 0.2.20 to 0.2.22
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.20...clap_mangen-v0.2.22)

Updates `http_req` from 0.10.2 to 0.11.0
- [Release notes](https://github.com/jayjamesjay/http_req/releases)
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.10.2...v0.11.0)

Updates `zip` from 0.6.6 to 1.1.4
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/commits/v1.1.4)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_macros_support
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: insta
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pnet_base
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: rstest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: clap_mangen
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: http_req
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert upgrade of `pnet*` crates

- `pnet-0.35.0` seems to be incompatible with packet-builder right now

* `cargo update`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-07-04 17:39:13 +08:00
dependabot[bot]
39bd161a78 chore(deps): bump mozilla-actions/sccache-action (#415)
Bumps the github-actions group with 1 update: [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).


Updates `mozilla-actions/sccache-action` from 0.0.4 to 0.0.5
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases)
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/v0.0.4...v0.0.5)

---
updated-dependencies:
- dependency-name: mozilla-actions/sccache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 17:19:44 +08:00
dependabot[bot]
53793c10b9 chore(deps): bump taiki-e/cache-cargo-install-action (#411)
Bumps the github-actions group with 1 update: [taiki-e/cache-cargo-install-action](https://github.com/taiki-e/cache-cargo-install-action).


Updates `taiki-e/cache-cargo-install-action` from 1 to 2
- [Release notes](https://github.com/taiki-e/cache-cargo-install-action/releases)
- [Changelog](https://github.com/taiki-e/cache-cargo-install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/cache-cargo-install-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: taiki-e/cache-cargo-install-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 22:33:56 +08:00
cyqsimon
c255c084f6 Update usage in README (#409)
* Update usage

* Write changelog
2024-04-17 10:07:58 +08:00
cyqsimon
13ef09aefd CI: use sccache to speed up CI (#408)
* CI: use sccache to speed up CI

* Write changelog

* Only use sccache for non-cross targets
2024-04-16 19:49:53 +08:00
cyqsimon
6a67ed03e9 Minor fix in README table 2024-04-16 16:07:26 +08:00
cyqsimon
f98c5c9cd6 Update README (#407)
* Update README

* Write changelog
2024-04-16 16:04:16 +08:00