mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 20:26:31 +00:00
2.4 KiB
2.4 KiB
This issue is about updating Meilisearch dependencies:
- Update Meilisearch dependencies with the help of
cargo +nightly udeps --all-targets
(remove unused dependencies) andcargo upgrade
(upgrade dependencies versions) - ⚠️ Some repositories may contain subdirectories (like heed, charabia, or deserr). Take care of updating these in the main crate as well. This won't be done automatically bycargo upgrade
. - If new Rust versions have been released, update the minimal Rust version in use at Meilisearch:
- in this GitHub Action file, by changing the
toolchain
field of therustfmt
job to the latest available nightly (of the day before or the current day). - in every GitHub Action files, by changing all the
dtolnay/rust-toolchain@
references to use the latest stable version. - in this
rust-toolchain.toml
, by changing thechannel
field to the latest stable version. - in the Dockerfile, by changing the base image to
rust:<target_rust_version>-alpine<alpine_version>
. Check that the image exists on Dockerhub. Also, build and run the image to check everything still works!
- in this GitHub Action file, by changing the
⚠️ This issue should be prioritized to avoid any deprecation and vulnerability issues.
The GitHub action dependencies are managed by Dependabot, so no need to update them when solving this issue.