Skip to content

Commit 1977d5a

Browse files
Point the template at the latest released dependencies (#337)
1 parent 8deb010 commit 1977d5a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ members = [
4949

5050
[patch.crates-io]
5151
uefi-macros = { path = "uefi-macros" }
52+
uefi-services = { path = "uefi-services" }
5253
uefi = { path = "." }
5354

5455
[package.metadata.docs.rs]

PUBLISHING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ you will also have to update the corresponding `Cargo.toml` of `uefi` to be:
5757
uefi-macros = "2.0.0"
5858
```
5959

60+
The dependencies in `template/Cargo.toml` should also be updated to the new version.
61+
6062
[cargo-semver]: https://doc.rust-lang.org/cargo/reference/semver.html
6163
[semver]: https://semver.org/
6264

template/Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ version = "0.1.0"
44
edition = "2018"
55

66
[dependencies]
7-
# In a real application, change these to point to the latest release
8-
# on crates.io.
9-
uefi = { path = "..", features = ["exts"] }
10-
uefi-services = { path = "../uefi-services" }
7+
uefi = { version = "0.14.0", features = ["exts"] }
8+
uefi-services = "0.11.0"

template/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ how to build and run a UEFI application developed using `uefi-rs`.
1010

1111
- [`template/.cargo/config`](template/.cargo/config) file sets some `build-std` options.
1212
- [`template/Cargo.toml`](template/Cargo.toml) shows the necessary
13-
dependencies. Note that when creating your project the
14-
[`uefi`](https://crates.io/crates/uefi) and
15-
[`uefi-services`](https://crates.io/crates/uefi-services) dependencies should
16-
be changed to the latest releases on [crates.io](https://crates.io).
13+
dependencies.
1714
- [`template/src/main.rs`](template/src/main.rs) has a minimal entry point that
1815
initializes the `uefi-services` crate and exits successfully.
1916

0 commit comments

Comments
 (0)