Commit Graph
99 Commits
Author SHA1 Message Date
Oliver Hamlet 212ded640e Specify the minimum supported Rust version 2026-04-03 16:16:20 +01:00
Oliver Hamlet cb08d44b50 Configure a few more clippy lints 2026-04-03 15:58:40 +01:00
Oliver Hamlet 41a4b44e3b Update version and changelog for v6.0.0 2026-01-21 17:32:11 +00:00
Oliver Hamlet f9832fea8e Update versions and changelog for v5.4.0 2026-01-01 10:37:29 +00:00
Oliver Hamlet 176c4184ba Update criterion to v0.8.1
The new transitive dependency on cc is intentionally set to v1.2.5 in the lockfile because that's the newest version that already has an audit.
2026-01-01 02:26:02 +00:00
Oliver Hamlet 5aa61abc10 Remove pelite dependency
The advantages of using the built-in implementation instead of pelite are:

- It's much faster on average: for Starfield.exe (~ 100 MB) it is 2.8x
  faster and 4% slower reading file and product versions respectively,
  and for sfse_1_15_222.dll it is 3.35x faster and < 1% slower
  respectively.
- It reduces the transitive dependency count by 8
- It uses ~ 700 lines of first-party code that only depends on the
  standard library, instead of 240715 lines of unaudited third-party code
- pelite hasn't had a release in 3 years, and my PR for replacing winapi
  hasn't had any response in the month and a half it's been open, so the
  built-in implementation is probably less of a maintenance risk.
2025-12-03 18:39:27 +00:00
Oliver Hamlet daf229c1e9 Implement PE executable version parsing
Using only the standard library (i.e. without pelite).

This commit keeps the pelite dependency and uses it to check that the
new parser gives the same result. The next commit will remove pelite.

I've verified that both parsers give the same result for the following
files that are referenced in the masterlists' version conditions:

Starfield.exe
sfse_1_15_222.dll
SkyrimSE.exe
skse64_loader.exe
skseVR_loader.exe
ENBHelperSE.dll
d3d11.dll
EngineFixes.dll
QuickLootEE.dll
FalloutNV.exe
nvse_1_4.dll
nvse_1_4ng.dll
nvse_1_1.dll
Fallout3.exe
fose_1_7.dll
fose_1_7ng.dll
nvac.dll
Fallout4.exe
f4se_loader.exe
f4sevr_loader.exe
place.dll
obse_1_2_416.dll
TESV.exe
skse_loader.exe

The only referenced files that I couldn't test against were SkyrimVR.exe
and Fallout4VR.exe, because I don't own those games.
2025-12-03 18:39:27 +00:00
Oliver Hamlet c7bd60cb74 Fix new clippy warning
It seems to have been introduced in Rust v1.91.0.
2025-11-10 18:33:49 +00:00
Oliver Hamlet b1a0840690 Update versions and changelog for v5.3.3 2025-09-29 17:19:59 +01:00
Oliver Hamlet bdeeaee9e9 Use more permissive dependency version selectors
So that dependents have more freedom in choosing versions in their dependency tree.

I've run the tests using the oldest versions allowed by the new specifiers, and they all pass.

The current release of esplugin unnecessarily requires at least unicase v2.8.1, but with that fixed, unicase v2.0.0 is fine.
2025-09-28 16:26:13 +01:00
dependabot[bot]andGitHub 45dbdccb50 Bump tempfile from 3.21.0 to 3.22.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.21.0 to 3.22.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.21.0...v3.22.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 03:01:07 +00:00
dependabot[bot]andGitHub bb03c10217 Bump regex from 1.11.1 to 1.11.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.1 to 1.11.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.11.1...1.11.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.11.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 05:48:48 +00:00
dependabot[bot]andGitHub d4714b69ce Bump tempfile from 3.20.0 to 3.21.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.20.0 to 3.21.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 16:33:24 +00:00
Oliver Hamlet 5f9d15b2c9 Move lints config to Cargo config 2025-08-01 18:07:36 +01:00
Oliver Hamlet e075010fbd Deduplicate Cargo package fields 2025-08-01 18:07:33 +01:00
Oliver Hamlet a2d90d781a Fix repository in Cargo.toml 2025-08-01 18:07:24 +01:00
dependabot[bot]andGitHub f03c0db2a4 Bump criterion from 0.6.0 to 0.7.0
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.6.0 to 0.7.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.6.0...0.7.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 04:52:52 +00:00
dependabot[bot]andGitHub bae1faf17d Bump crc32fast from 1.4.2 to 1.5.0
Bumps [crc32fast](https://github.com/srijs/rust-crc32fast) from 1.4.2 to 1.5.0.
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: crc32fast
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-20 10:39:58 +00:00
dependabot[bot]andGitHub 9a432c8952 Bump criterion from 0.5.1 to 0.6.0
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.5.1 to 0.6.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.1...0.6.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 03:58:47 +00:00
dependabot[bot]andGitHub ec4c60ed56 Bump tempfile from 3.19.1 to 3.20.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.19.1 to 3.20.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 03:59:47 +00:00
Oliver Hamlet cacf19c54f Update versions and changelog for v5.3.2 2025-04-28 18:18:29 +01:00
dependabot[bot]andGitHub 3875ebfa79 Bump esplugin from 6.1.1 to 6.1.2
Bumps [esplugin](https://github.com/Ortham/esplugin) from 6.1.1 to 6.1.2.
- [Changelog](https://github.com/Ortham/esplugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Ortham/esplugin/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: esplugin
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 03:29:00 +00:00
Oliver Hamlet 332a636bf1 Update versions and changelog for v5.3.1 2025-03-26 18:41:24 +00:00
Oliver Hamlet 638c233815 Add description and repository metadata to Cargo.toml 2025-03-26 18:33:57 +00:00
Oliver Hamlet 906198e599 Update versions and changelog for v5.3.0 2025-03-26 18:11:37 +00:00