Skip to content

chore(deps): bump dependencies, raise MSRV, and unignore the fuzzy_find doctest - #70

Merged
rizukirr merged 2 commits into
mainfrom
chore/dep-bumps-and-fuzzy-doctest
Jul 30, 2026
Merged

chore(deps): bump dependencies, raise MSRV, and unignore the fuzzy_find doctest#70
rizukirr merged 2 commits into
mainfrom
chore/dep-bumps-and-fuzzy-doctest

Conversation

@rizukirr

Copy link
Copy Markdown
Owner

Summary

Routine dependency maintenance plus a doctest fix in apic-core.

Dependency bumps (Cargo.toml, Cargo.lock)

  • Direct: clap 4.6.1 to 4.6.4, libc to 0.2.189, ratatui to 0.30.2, ratatui-textarea to 0.9.2, serde to 1.0.229, serde_json to 1.0.151.
  • Transitive lockfile refresh: cc, displaydoc, either, event-listener, redox_syscall, toml, toml_parser, webbrowser.
  • Direct deps are now pinned to explicit patch versions rather than loose 0.2 / 0.30 style requirements.

MSRV raised from 1.92 to 1.97 in Cargo.toml.

Doctest fix (apic-core/src/fuzzy.rs)

The fuzzy_find example was marked ```ignore, so it was never compiled or run. It now has the missing use apic_core::fuzzy::fuzzy_find; import and runs for real under cargo test --doc.

Verification

Run locally on rustc 1.97.1:

  • cargo fmt --all --check, clean
  • cargo clippy --workspace --all-targets -- -D warnings, clean
  • cargo test --workspace, 258 tests passed across 6 targets, 0 failed
  • cargo test --doc -p apic-core, 1 passed, the previously ignored fuzzy_find example now executes

Note for review

The MSRV bump to 1.97 is worth a second look. CI installs dtolnay/rust-toolchain@stable rather than a pinned version, so nothing in the pipeline actually enforces or verifies the declared MSRV, and I could not test against 1.92 because only stable is installed locally. If none of these dependency bumps genuinely require 1.97, this narrows the supported toolchain range for downstream users without a concrete reason. Happy to drop it back to 1.92 if it was incidental.

rizukirr added 2 commits July 30, 2026 16:37
Update clap, libc, ratatui, ratatui-textarea, serde and serde_json to
their latest patch releases, and refresh the lockfile for transitive
updates (cc, displaydoc, either, event-listener, redox_syscall, toml,
webbrowser).
The example was marked `ignore`, so it was never compiled or executed.
Add the missing import and drop the marker so the example is verified by
`cargo test --doc`.
@rizukirr
rizukirr merged commit 627d7e5 into main Jul 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant