Skip to content

Commit

Permalink
chore: merge release-v0.1.11 into main
Browse files Browse the repository at this point in the history
mrjackwills committed May 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents acb85f1 + 5886c73 commit 39818ed
Showing 6 changed files with 87 additions and 76 deletions.
14 changes: 4 additions & 10 deletions .github/release-body.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
### 2024-04-15
### 2024-05-06

### Chores
+ Dependencies updated, [bec41d4b8f176b0f99ec74dcba57aef80f458d9a], [86254c4924e78b621cfe5b2d716d692daa455dd0]

### Docs
+ add arch linux instructions, thanks [orhun](https://github.com/orhun), [c5d49803deb415189c38ce9fe29e93501a4f5cf6]
+ dependencies updated, [7c39607227690f91090d2beeb6eee62b53fbb43d], [81f1b9e6fb5998e02a5ebc8904bf5bb5d2ca5ffb], [af2c9d226925b2571620d0306b72e80764a96ea4]
+ Rust 1.78.0 linting, [ed6b20f6a0284dd7c0cc858acff14bda5a15a31a]

### Fixes
+ `get_extra_ips()` errant comma addition removed, [dcb05f1c623ba26c151c6f2b79a02b9559f9b2cb]

### Refactors
+ Refactor main fn to use let-else, thanks [Thorsten Hans](https://github.com/ThorstenHans), [4f0b5b3b4ff199cb84566c9cb082a81bca797359]
+ only match in the fmt::Display impl's when not in MONOCHROME mode, [11a5abe5b9e3650918d5dac927d37f697c5443e7]
+ Fix `arch` command not found, thanks [Chleba](https://github.com/Chleba), [b4d4c2b51d8c492be97d7aa02d84e323acdc8a69]


see <a href='https://github.com/mrjackwills/havn/blob/main/CHANGELOG.md'>CHANGELOG.md</a> for more details
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# <a href='https://github.com/mrjackwills/havn/releases/tag/v0.1.10'>v0.1.10</a>
### 2024-04-15
# <a href='https://github.com/mrjackwills/havn/releases/tag/v0.1.11'>v0.1.11</a>
### 2024-05-06

### Chores
+ dependencies updated, [7c396072](https://github.com/mrjackwills/havn/commit/7c39607227690f91090d2beeb6eee62b53fbb43d), [81f1b9e6](https://github.com/mrjackwills/havn/commit/81f1b9e6fb5998e02a5ebc8904bf5bb5d2ca5ffb), [af2c9d22](https://github.com/mrjackwills/havn/commit/af2c9d226925b2571620d0306b72e80764a96ea4)
+ Rust 1.78.0 linting, [ed6b20f6](https://github.com/mrjackwills/havn/commit/ed6b20f6a0284dd7c0cc858acff14bda5a15a31a)

### Fixes
+ Fix `arch` command not found, thanks [Chleba](https://github.com/Chleba), [b4d4c2b5](https://github.com/mrjackwills/havn/commit/b4d4c2b51d8c492be97d7aa02d84e323acdc8a69)

# <a href='https://github.com/mrjackwills/havn/releases/tag/v0.1.10'>v0.1.10</a>
### 2024-04-15

### Chores
+ Dependencies updated, [bec41d4b](https://github.com/mrjackwills/havn/commit/bec41d4b8f176b0f99ec74dcba57aef80f458d9a), [86254c49](https://github.com/mrjackwills/havn/commit/86254c4924e78b621cfe5b2d716d692daa455dd0)

124 changes: 65 additions & 59 deletions Cargo.lock
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "havn"
version = "0.1.10"
version = "0.1.11"
edition = "2021"
authors = ["Jack Wills <email@mrjackwills.com>"]
description = "A fast configurable port scanner with reasonable defaults"
@@ -15,11 +15,11 @@ categories = ["command-line-utilities"]
unsafe_code = "forbid"

[lints.clippy]
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unused_async = "warn"
unwrap_used = "warn"
expect_used = "warn"
pedantic = "warn"
nursery = "warn"
todo = "warn"
module_name_repetitions = "allow"
doc_markdown = "allow"
3 changes: 2 additions & 1 deletion install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

case "$(arch)" in
UNAME_CMD="$(uname -m)"
case "$UNAME_CMD" in
x86_64) SUFFIX="x86_64" ;;
aarch64) SUFFIX="aarch64" ;;
armv6l) SUFFIX="armv6" ;;
2 changes: 1 addition & 1 deletion src/scanner/mod.rs
Original file line number Diff line number Diff line change
@@ -242,7 +242,7 @@ mod tests {
});
assert_eq!(result.closed, 9);
assert_eq!(result.open_len(), 1);
assert!(result.open.get(&80).is_some());
assert!(result.open.contains(&80));
}

#[test]

0 comments on commit 39818ed

Please sign in to comment.