mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
uefi-macros: Change uefi dev-dependency from version to path
Using a path avoids having to update the `uefi-macros` dep on `uefi` after releasing a new version of `uefi`, slightly simplifying our release process. Prior to cargo 1.40 there was no choice but to have a version on dev-dependencies. That changed with https://github.com/rust-lang/cargo/pull/7333, and now you can publish a crate with a path-only dev dependency.
This commit is contained in:
parent
09a7867d92
commit
d6edea5e4c
2 changed files with 1 additions and 4 deletions
|
|
@ -33,9 +33,6 @@ a new major version of that crate will have to be published, then a new version
|
|||
`uefi` (major if the previous bump caused changes in the public API of this crate as well),
|
||||
then possibly a new version of `uefi-services`.
|
||||
|
||||
Furthermore, `uefi-macros` has the `uefi` crate as a `dev-dependency`,
|
||||
and that will have to be updated in tandem with the major versions of the core crate.
|
||||
|
||||
### Updating the dependent crates
|
||||
|
||||
Remember that if a new major version of a crate gets released, when bumping the version
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@ syn = { version = "2.0.4", features = ["full"] }
|
|||
|
||||
[dev-dependencies]
|
||||
trybuild = "1.0.61"
|
||||
uefi = { version = "0.25.0", default-features = false }
|
||||
uefi = { path = "../uefi", default-features = false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue