File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ you will also have to update the corresponding `Cargo.toml` of `uefi` to be:
46
46
uefi-macros = " 0.6.0"
47
47
```
48
48
49
- The dependencies in ` template/Cargo.toml ` and ` book/src/tutorial/app.md ` should
50
- also be updated to the new version.
49
+ The dependencies in ` template/Cargo.toml ` should also be updated to the new version.
51
50
52
51
[ cargo-semver ] : https://doc.rust-lang.org/cargo/reference/semver.html
53
52
[ semver ] : https://semver.org/
Original file line number Diff line number Diff line change @@ -13,13 +13,10 @@ cargo new my-uefi-app
13
13
cd my-uefi-app
14
14
```
15
15
16
- In ` cargo.toml ` , add a few dependencies:
16
+ Add a few dependencies:
17
17
18
- ``` toml
19
- [dependencies ]
20
- log = " 0.4"
21
- uefi = " 0.26"
22
- uefi-services = " 0.23"
18
+ ``` sh
19
+ cargo add log uefi uefi-services
23
20
```
24
21
25
22
Replace the contents of ` src/main.rs ` with this:
You can’t perform that action at this time.
0 commit comments