Commit Graph

426 Commits

Author SHA1 Message Date
cyqsimon
a9fbc6d463 CD: set correct version for binaries 2023-09-11 17:43:22 +08:00
cyqsimon
c72c3ea4dd CD: Fix upload URL
- Not my last fuck-up after all
2023-09-11 16:52:55 +08:00
cyqsimon
49f3de7cc3 CD: Fix inconsistent matrix declaration
- Hopefully this is my last fuck-up
2023-09-11 16:43:45 +08:00
cyqsimon
f5fd81be64 CD: Fix incorrect tag pattern
Oops
2023-09-11 16:39:53 +08:00
cyqsimon
f733975987 Update CD 2023-09-11 16:36:17 +08:00
sigmaSd
ead54b6883 fix(windows): don't send key twice (#280) 2023-09-01 09:28:41 +08:00
cyqsimon
e1bdc4c475 Disable tests on Windows for PRs 2023-08-31 21:58:32 +08:00
cyqsimon
0cf79b2fbd Cache npcap SDK when building on Windows (#281)
* Cache npcap SDK on Windows

* Call build function correctly

* Log when local cache of SDK is found

* Fix clippy warnings

* Log to STDERR
2023-08-31 20:07:16 +08:00
cyqsimon
20410739d7 Add project status section in README 2023-08-30 11:44:43 +08:00
cyqsimon
53af5b8e2f Improve Linux privilege escalation instructions
- There are merits to always use `sudo` as opposed to `setcap`.
2023-08-30 11:27:16 +08:00
cyqsimon
dab58d18f7 Fix stuck CI on Windows 2023-08-30 11:09:29 +08:00
cyqsimon
872c7a286e Set correct MSRV (1.70.0) 2023-08-30 11:09:29 +08:00
cyqsimon
a8cdf18c9c Test MSRV 2023-08-30 11:09:29 +08:00
cyqsimon
9338067b0b Install pcap on Windows 2023-08-30 11:09:29 +08:00
cyqsimon
f37f70b074 Don't use mapfile to be compatible with Bash 3 on MacOS
This does assume that the path `target/*/build/bandwhich-*/stderr` contains no
spaces, but it should be fine.
2023-08-30 11:09:29 +08:00
cyqsimon
9c11b59c55 Improve build.rs STDERR logging
- Remove `set +x`
- Use GitHub Action's log grouping feature
  - See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
2023-08-30 11:09:29 +08:00
cyqsimon
e57bb52981 Show build.rs STDERR for all targets 2023-08-30 11:09:29 +08:00
cyqsimon
3969767752 Bump MSRV from 1.65.0 to 1.70.0
- Due to use of `OnceCell`: see #278
2023-08-27 23:07:08 +08:00
cyqsimon
9a78cb0120 Note fixes in changelog 2023-08-27 01:09:38 +08:00
Nbiba Bedis
09b13f358d fix: fix snapshot tests 2023-08-26 23:24:38 +08:00
Nbiba Bedis
1220808adb chore: drop lazy_static 2023-08-26 19:14:31 +08:00
Nbiba Bedis
a470ee4e75 chore: remove extra deps 2023-08-26 19:14:31 +08:00
cyqsimon
42ae443bd3 Use variable capture syntax in format macros where possible 2023-08-25 20:16:33 +08:00
cyqsimon
fb176a5212 Set edition 2021 2023-08-25 20:05:45 +08:00
cyqsimon
e9aa59fa0e Compact imports 2023-08-25 19:54:05 +08:00
cyqsimon
dab1985670 Move completion file location 2023-08-25 19:11:27 +08:00
cyqsimon
ffbf0cd8aa Migrate from failure to anyhow+thiserror 2023-08-25 19:02:37 +08:00
cyqsimon
c780c06807 Fix TOC 2023-08-25 18:39:53 +08:00
cyqsimon
08db9a8bf6 Update README 2023-08-25 18:38:12 +08:00
cyqsimon
a43591dfd3 Fix cargo {clippy,fmt} complaints 2023-08-25 17:34:37 +08:00
Nbiba Bedis
492d1f2e2f clippy 2023-08-25 17:34:37 +08:00
Nbiba Bedis
17f77c3593 update tests 2023-08-25 17:34:37 +08:00
Nbiba Bedis
0b7be9398e use alternate mode 2023-08-25 17:34:37 +08:00
cyqsimon
66ba68954e Update MSRV 2023-08-25 17:20:17 +08:00
cyqsimon
83d006fe0b Add myself to authors 2023-08-25 17:20:00 +08:00
cyqsimon
4980e4b281 Removed Travis CI file 2023-08-25 16:55:57 +08:00
cyqsimon
df2a57c7b6 Improve Homebrew instructions on Linux
- Fixes #228
2023-08-25 16:45:25 +08:00
Mathias Schmitt
223bd3f192 Makefile: Install autocompletion script. 2023-08-25 16:16:18 +08:00
Mathias Schmitt
06ea4d1e61 Add autocompletion script.
Add the autocompletion of the different flags and options to bash.
In particular, autocomplete network interfaces.
2023-08-25 16:16:18 +08:00
freddii
0d7b410cfd fixed spelling mistake 2023-08-25 16:14:17 +08:00
Teoh Han Hui
e4420fbfc6 Fix setcap example
* Use POSIX sh command substitution syntax
* Use `command -v` shell built-in instead of `which`
2023-08-25 16:13:44 +08:00
Herby Gillot
3d2599aefb docs(readme): add instructions for installing via MacPorts 2023-08-25 16:12:30 +08:00
Brooks Rady
6500421c2e docs(changelog): resolve-conf + trust-ad fix 2023-08-25 16:12:00 +08:00
cyqsimon
b2a045a7e3 Merge pull request #274 from imsnif/ratatui
Switch from `tui` to `ratatui`
2023-08-25 15:19:48 +08:00
cyqsimon
e06b5956a8 Switch from tui to ratatui 2023-08-25 15:15:14 +08:00
cyqsimon
94df6e07db Merge dependency bumps and fixes
Tests still have to be fixed.
2023-08-25 14:54:24 +08:00
cyqsimon
04e3a2aac6 CI: switch to dtolnay/rust-toolchain 2023-08-25 14:46:11 +08:00
cyqsimon
ef67b325d5 CI: disable fail fast 2023-08-25 14:06:56 +08:00
cyqsimon
1891892b39 Fix windows build 2023-08-25 13:26:31 +08:00
cyqsimon
bcb690563c Fix build script on Windows 2023-08-25 13:23:02 +08:00