RustScan built from 2.4.1 tag reports version 2.3.0 due to outdated version in Cargo.toml
- Dominant language
- Rust
- Stars
- 20.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When building RustScan from source using the 2.4.1 git tag, the resulting binary reports version 2.3.0 instead of 2.4.1.
**To Reproduce**
Steps to reproduce the behavior:
1. Clone the repository:
```bash
git clone https://github.com/bee-san/RustScan.git
cd RustScan
```
2. Checkout the 2.4.1 tag:
```bash
git checkout 2.4.1
```
3. Build the project:
```bash
cargo build --release
```
4. Check the version of the built binary:
```bash
./target/release/rustscan -V
```
5. The output is:
```
rustscan 2.3.0
```
**Expected behavior**
The binary built from the 2.4.1 tag should report version 2.4.1, not 2.3.0.
**Screenshots**
Not applicable.
**Desktop (please complete the following information):**
- OS: macOS 14.7.6 (23H626)
- Rust version: rustc 1.86.0 (05f9846f8 2025-03-31)
- Git version: git version 2.39.5 (Apple Git-154)
**Additional context**
This issue affects all builds from source, including Homebrew, which builds RustScan from the 2.4.1 tag and thus also produces a binary reporting version 2.3.0.
In the `Cargo.toml` file on the 2.4.1 tag, the version is still set to 2.3.0.
Please update the version in `Cargo.toml` before tagging and releasing new versions to avoid such inconsistencies.
Contributor guide
Assessment
This issue has not been assessed yet.