cyqsimon
1b58a0c4c4
Bump version to 0.22.0
v0.22.0
2024-01-28 01:00:41 +08:00
cyqsimon
f865a5d51d
Bump all dependencies
2024-01-28 01:00:01 +08:00
dependabot[bot]
9e0dc2b612
chore(deps): bump ratatui from 0.24.0 to 0.25.0 ( #348 )
...
* chore(deps): bump ratatui from 0.24.0 to 0.25.0
Bumps [ratatui](https://github.com/ratatui-org/ratatui ) from 0.24.0 to 0.25.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.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: ratatui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update API changes
---------
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-01-28 00:22:01 +08:00
cyqsimon
65638676e6
CI: Fix incorrect link
2024-01-28 00:19:22 +08:00
dependabot[bot]
bacc2f3403
chore(deps): bump tracing from 0.1.39 to 0.1.40 ( #354 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 13:33:14 +08:00
dependabot[bot]
8b46c95b28
chore(deps): bump anyhow from 1.0.75 to 1.0.78 ( #347 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.75 to 1.0.78.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.78 )
---
updated-dependencies:
- dependency-name: anyhow
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>
2024-01-01 11:20:46 +08:00
dependabot[bot]
b85f509413
chore(deps): bump http_req from 0.10.1 to 0.10.2 ( #344 )
...
Bumps [http_req](https://github.com/jayjamesjay/http_req ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/jayjamesjay/http_req/releases )
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: http_req
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>
2024-01-01 10:54:07 +08:00
dependabot[bot]
8952441ff0
chore(deps): bump clap from 4.4.10 to 4.4.12 ( #345 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.10 to 4.4.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/v4.4.10...v4.4.12 )
---
updated-dependencies:
- dependency-name: clap
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>
2024-01-01 10:53:59 +08:00
dependabot[bot]
720a836f41
chore(deps): bump thiserror from 1.0.50 to 1.0.53 ( #346 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.50 to 1.0.53.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.53 )
---
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>
2024-01-01 10:53:48 +08:00
dependabot[bot]
e99f3535b4
chore(deps): bump once_cell from 1.18.0 to 1.19.0 ( #349 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2024-01-01 10:53:22 +08:00
dependabot[bot]
be3d5c75d8
chore(deps): bump clap-verbosity-flag from 2.1.0 to 2.1.1 ( #350 )
...
Bumps [clap-verbosity-flag](https://github.com/clap-rs/clap-verbosity-flag ) from 2.1.0 to 2.1.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.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: clap-verbosity-flag
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>
2024-01-01 10:53:13 +08:00
dependabot[bot]
01e336daf5
chore(deps): bump tokio from 1.34.0 to 1.35.1 ( #351 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.1 )
---
updated-dependencies:
- dependency-name: tokio
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>
2024-01-01 10:53:01 +08:00
dependabot[bot]
73a39a43b4
chore(deps): bump async-trait from 0.1.74 to 0.1.76 ( #352 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.74 to 0.1.76.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.74...0.1.76 )
---
updated-dependencies:
- dependency-name: async-trait
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>
2024-01-01 10:52:37 +08:00
dependabot[bot]
bef8d8cebb
chore(deps): bump zerocopy from 0.7.21 to 0.7.31 ( #343 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.21 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.21...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 20:01:26 +08:00
cyqsimon
451a7a2642
Write changelog for all unreleased commits
...
This shouldn't be necessary in the future due to #331 .
2023-12-08 17:00:56 +08:00
cyqsimon
53cfcd0c15
Upload changed snapshots from all dirs
2023-12-08 16:44:36 +08:00
ilyes-ced
5648be6f11
Show interface names ( #340 )
...
* added interface names
* some fixes
* Set interface name in UI only once
* Code style
* Add changelog entry
---------
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com >
2023-12-08 16:33:10 +08:00
cyqsimon
0a89c5aba5
Fix PR submitter detection ( #342 )
2023-12-08 15:49:41 +08:00
dependabot[bot]
da5fc0b6f6
chore(deps): bump sysinfo from 0.29.10 to 0.29.11 ( #336 )
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.29.10 to 0.29.11.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
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-12-01 10:41:46 +08:00
dependabot[bot]
fdfbdb860b
chore(deps): bump tokio from 1.33.0 to 1.34.0 ( #335 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.0 )
---
updated-dependencies:
- dependency-name: tokio
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-12-01 10:41:35 +08:00
dependabot[bot]
8919229ae8
chore(deps): bump itertools from 0.11.0 to 0.12.0 ( #334 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.11.0 to 0.12.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: itertools
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-12-01 10:41:15 +08:00
dependabot[bot]
b310bb6f02
chore(deps): bump clap from 4.4.7 to 4.4.10 ( #333 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.7 to 4.4.10.
- [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/v4.4.7...v4.4.10 )
---
updated-dependencies:
- dependency-name: clap
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-12-01 10:40:58 +08:00
dependabot[bot]
42e379a458
chore(deps): bump openssl from 0.10.57 to 0.10.60 ( #332 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.57 to 0.10.60.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.57...openssl-v0.10.60 )
---
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>
2023-11-29 09:03:40 +08:00
cyqsimon
23827065c2
CI: ensure a changelog entry exists for each PR ( #331 )
...
* CI: ensure a changelog entry exists for each PR
* Write CHANGELOG
* Fix grep by adding `-P`
2023-11-12 14:32:46 +08:00
cyqsimon
16a6f9eec6
Display bandwidth in different unit families ( #328 )
...
* Allow selecting unit families
- Supported units are {binary,SI}-{bytes,bits}
* Fix typo
* Better error msg in the unreachable case
* - I can't believe I did this. Frankly, terrible.
* Add unit test
* Add peta&pebi units to be absolutely future-proof
* Minor code style improvement
2023-11-02 14:00:58 +08:00
cyqsimon
cf9b9f0634
Reorganise & cleanup ( #329 )
...
* Get rid of outdated, unused packaging files
* Create `/res`
2023-11-02 00:59:56 +08:00
cyqsimon
022eade156
Bump ratatui to 0.24.0 ( #327 )
2023-11-01 12:00:58 +08:00
dependabot[bot]
75a7b38e2c
chore(deps): bump procfs from 0.15.1 to 0.16.0 ( #321 )
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.15.1...v0.16.0 )
---
updated-dependencies:
- dependency-name: procfs
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-11-01 11:05:06 +08:00
dependabot[bot]
a8b051710a
chore(deps): bump trust-dns-resolver from 0.23.1 to 0.23.2 ( #319 )
...
Bumps [trust-dns-resolver](https://github.com/bluejekyll/trust-dns ) from 0.23.1 to 0.23.2.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases )
- [Changelog](https://github.com/hickory-dns/hickory-dns/blob/v0.23.2/CHANGELOG.md )
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.23.1...v0.23.2 )
---
updated-dependencies:
- dependency-name: trust-dns-resolver
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-11-01 10:25:54 +08:00
dependabot[bot]
a46c9337dc
chore(deps): bump clap from 4.4.6 to 4.4.7 ( #320 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.6 to 4.4.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/v4.4.6...v4.4.7 )
---
updated-dependencies:
- dependency-name: clap
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-11-01 10:25:43 +08:00
dependabot[bot]
d7850e609d
chore(deps): bump regex from 1.10.1 to 1.10.2 ( #325 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.1 to 1.10.2.
- [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.1...1.10.2 )
---
updated-dependencies:
- dependency-name: regex
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-11-01 10:25:09 +08:00
dependabot[bot]
14a469b550
chore(deps): bump thiserror from 1.0.49 to 1.0.50 ( #323 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50 )
---
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-11-01 10:24:37 +08:00
dependabot[bot]
624ce926a9
chore(deps): bump http_req from 0.10.0 to 0.10.1 ( #324 )
...
Bumps [http_req](https://github.com/jayjamesjay/http_req ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/jayjamesjay/http_req/releases )
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: http_req
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-11-01 10:24:28 +08:00
dependabot[bot]
c15d6c3eab
chore(deps): bump clap-verbosity-flag from 2.0.1 to 2.1.0 ( #326 )
...
Bumps [clap-verbosity-flag](https://github.com/clap-rs/clap-verbosity-flag ) from 2.0.1 to 2.1.0.
- [Changelog](https://github.com/clap-rs/clap-verbosity-flag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap-verbosity-flag/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: clap-verbosity-flag
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-11-01 10:24:17 +08:00
cyqsimon
aef30c9bee
Log unresolved processes in more detail + general refactor ( #318 )
...
* Refactor & reorganisation of `get_proc_name`
* Log both src & dst when we fail to resolve connection to process
- Per recommendation in https://github.com/imsnif/bandwhich/issues/196#issuecomment-1763278674
2023-11-01 01:44:27 +08:00
cyqsimon
62c0fbf128
Fix vague CLI option documentation; closes #314 ( #316 )
2023-10-29 21:25:49 +08:00
cyqsimon
2c49b0fc12
Use once_cell::sync::Lazy to make regex usage more ergonomic ( #313 )
2023-10-26 14:59:42 +08:00
cyqsimon
34713f699b
Minor code style improvements ( #312 )
...
- Build regex only once using `once_cell::sync::Lazy`
- Reduce code duplication
2023-10-26 11:52:35 +08:00
cyqsimon
879e5676df
Cargo.toml manifest cleanup (#311 )
...
* Sort Cargo.toml according to style guide
- See https://doc.rust-lang.org/stable/style-guide/cargo.html
* Format `cfg` strings in Cargo.toml
* Narrow down `regex` dependency to more specific targets
2023-10-26 11:44:35 +08:00
cyqsimon
de791a1f62
Reset clippy levels
...
- Also denies `enum_glob_use`
2023-10-21 22:35:04 +08:00
cyqsimon
6fa77d2991
Refactor OsInputOutput (combine interfaces & frames into single Vec) ( #310 )
...
* Refactor `OsInputOutput` (combine interfaces & frames into single Vec)
* Add note on handling a separate failure case
* Reduce code duplication
2023-10-21 22:14:46 +08:00
cyqsimon
89e1140bea
Make logging race-free using a global lock & macro ( #309 )
...
* Make logging race-free using a global lock & macro
* Fix clippy complaint
* Fix import for MacOS
* Make `mt_log` expand to an expression
2023-10-20 19:25:27 +08:00
cyqsimon
0c4987aa86
Table formatting logic overhaul ( #305 )
...
* Table formatting logic overhaul
- Columns now auto-expand and auto-shrink proportionally
- Data column selection logic is now set per-table
- Necessary boilerplate added to allow tables with more (or fewer) columns in the future
* Better naming: `TableLayout` -> `DisplayLayout`
* Fix clippy complaints
* Optimise layout cutoff widths
- These values are pretty much arbitrary. I'm open to further optimising them in the future.
* Updated test snapshots to match new layout settings
* Remove unnecessary logging
* Correct `debug_fn` impl for `column_selector`
* Further optimise bandwidth column display
* Update test snapshots
* Layout width preset minor adjustment
2023-10-19 16:55:04 +08:00
cyqsimon
d9cc84b373
Partially fix flaky tests ( #308 )
...
* Minor code style changes
* Disable rendering of timestamps in tests
* Update test snapshots
* Test everything with insta macros (no more `assert(_eq)?`)
- This has the benefit of creating snapshots for everything, allowing for later diffing
* Don't use `assert_debug_snapshot` for large string outputs
- This makes snapshots more human-inspectable
* Code style improvement on two tests
- `pause_by_space`
- `rearranged_by_tab`
* Minor code style improvements
2023-10-17 16:29:47 +08:00
cyqsimon
5d2ee96900
CI: amend #306
...
- I only installed npcap, but forgot to run the actual tests 🤦
2023-10-16 17:06:00 +08:00
cyqsimon
df171725cc
CI: allow Windows tests to run if PR source is own repo ( #306 )
2023-10-16 16:37:44 +08:00
cyqsimon
f987636f78
Bump version to 0.21.1
v0.21.1
2023-10-16 09:27:28 +08:00
cyqsimon
6e923a785a
Bump all dependencies ( #304 )
2023-10-16 09:24:36 +08:00
cyqsimon
bd007dc08d
... and I forgot to keep changelog again
2023-10-16 09:18:10 +08:00
cyqsimon
bc10c0789c
Bump rustix dependencies
...
- Fixes #284
- See https://github.com/bytecodealliance/rustix/security/advisories/GHSA-c827-hfw6-qwvm
2023-10-16 08:13:32 +08:00