Bump to Rust 1.95, modernize deps and frontend, refresh docs - #4
Merged
Conversation
Workspace MSRV moved from 1.82 to 1.95 with matching dep refresh: tokio 1.41 → 1.52, sha1/sha2 0.10 → 0.11, rand 0.8 → 0.10, reqwest 0.12 → 0.13 (rustls-tls feature renamed to rustls + rustls-native-certs), dirs 5 → 6, uuid 1.11 → 1.23, regex 1.11 → 1.12, bytes 1.9 → 1.11. oxidebt-disk and oxidebt-net now consume workspace deps directly instead of pinning their own versions. rand 0.10 migration: thread_rng() → rng(), Rng::gen() → random() / RngExt::random(), and rand::random::<usize>() % n → random_range(..n) (also removes modulo bias). Removed an unwrap() in tracker IPv6 peer parsing in favor of an explicit byte-array literal. Frontend: React 18 → 19, Vite 6 → 8, TypeScript 5.6 → 6, plus @vitejs/plugin-react 4 → 6, @types/react 18 → 19, gsap 3.13 → 3.15. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updates README and CLAUDE.md to use bun (the project's actual package manager per bun.lock) instead of npm, bumps the documented Rust MSRV to 1.95, and notes Vite 8's Node 20.19 / 22.12 requirement. Trims the v2/hybrid protocol claim from the README — those BEPs aren't yet implemented in the oxidebt crates — and adds oxidebt-cache and oxidebt-constants to the crate table. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rustls-tlsfeature renamed →rustls+rustls-native-certs), dirs 5 → 6, uuid 1.11 → 1.23, regex 1.11 → 1.12, bytes 1.9 → 1.11oxidebt-diskandoxidebt-netmigrated to consume workspace deps directly instead of pinning their own versionsthread_rng()→rng(),Rng::gen()→random()/RngExt::random(), andrand::random::<usize>() % n→rand::random_range(..n)(also removes modulo bias)unwrap()in tracker IPv6 peer parsing (oxidebt-tracker/src/response.rs) in favor of an explicit byte-array literal@vitejs/plugin-react4 → 6,@types/react18 → 19, gsap 3.13 → 3.15bun(the project's actual package manager), bumped Rust prereq to 1.95 and Node to 20.19+/22.12+ (Vite 8 requirement), trimmed the v2/hybrid protocol claim from the README (those BEPs aren't yet implemented), and addedoxidebt-cacheandoxidebt-constantsto the crate tableTest plan
cargo clippy --workspace -- -D warningscleancargo test --workspace— 309 tests passcargo build --release --workspacebun run build— 361 KB JS, 33 KB CSS, no TS errors🤖 Generated with Claude Code