Repository navigation
Conversation
rust-toolchain.toml already pins 1.97.1, so 1.85 was only holding clippy back from newer std APIs. Applies what that unlocks: Duration::from_mins and from_hours, is_multiple_of, and const fns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Description
Raise the backend crate's minimum supported Rust version from 1.85 to 1.97 to match the Rust 1.97.1 toolchain already pinned in
backend-rs/rust-toolchain.toml. Apply the resulting Clippy fixes: use minute/hour duration constructors, make eligible functionsconst fn, and replace divisibility checks withis_multiple_of. These mechanical rewrites preserve the existing values and behavior.The Rust CI job also failed before reaching the tests because AniBridge's release download URL repeatedly returned HTTP 504. Fetch the same release asset through GitHub's API and serve it as an extra local mirror using
MAPPING_MIRROR_TEMPLATES. The smoke test continues to exercise the backend's download, validation, and import paths for both datasets and requires populated dataset generations. Document the CI mirror in the backend README.How Has This Been Tested?
Validated locally on Linux with the pinned Rust 1.97.1 toolchain:
cargo fmt --check,cargo clippy --all-targets --locked -- -D warnings, andcargo build --locked.CI=true FORESEERR_MAPPING_TEST_DB=<scratch database> cargo test --locked: 725 passed, including the populated mapping database test.actionlint, ShellCheck, and Prettier checks for the workflow and documentation.Checklist:
bun run buildbun run i18n:extract