You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/runbook/upgrade-repository-dependencies/README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,26 @@
4
4
5
5
This runbook provides step-by-step instructions to upgrade the dependencies in the repository, including Rust crates, documentation, and JavaScript packages.
6
6
7
+
## Update dependencies tool
8
+
9
+
The `update_dependencies.sh` script allows you to to update dependencies performing all the steps described in the next chapter.
10
+
11
+
It requires having `cargo-edit` installed, which can be done with the following command:
12
+
13
+
```
14
+
cargo install cargo-edit
15
+
```
16
+
17
+
To start the update, execute the command:
18
+
19
+
```
20
+
. ../docs/runbook/upgrade-dependencies.sh
21
+
```
22
+
23
+
By default, Rust dependencies are updated to the latest version. If you want to only update to the latest compatible versions, add the `--incompatible` option to the command.
24
+
25
+
**Warning**: Before re-running the script, you need to revert the modified code to its original state to avoid incrementing the versions of crates and JSON packages twice.
0 commit comments