diff --git a/PUBLISHING.md b/PUBLISHING.md index 19458cc35..f968b710d 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -46,8 +46,7 @@ you will also have to update the corresponding `Cargo.toml` of `uefi` to be: uefi-macros = "0.6.0" ``` -The dependencies in `template/Cargo.toml` and `book/src/tutorial/app.md` should -also be updated to the new version. +The dependencies in `template/Cargo.toml` should also be updated to the new version. [cargo-semver]: https://doc.rust-lang.org/cargo/reference/semver.html [semver]: https://semver.org/ diff --git a/book/src/tutorial/app.md b/book/src/tutorial/app.md index ba0b80e35..9d2a84e56 100644 --- a/book/src/tutorial/app.md +++ b/book/src/tutorial/app.md @@ -13,13 +13,10 @@ cargo new my-uefi-app cd my-uefi-app ``` -In `cargo.toml`, add a few dependencies: +Add a few dependencies: -```toml -[dependencies] -log = "0.4" -uefi = "0.26" -uefi-services = "0.23" +```sh +cargo add log uefi uefi-services ``` Replace the contents of `src/main.rs` with this: