Skip to content

Commit 08ddf18

Browse files
Relax version requirements for various deps
Allow older versions of some dependencies to be used if that's all that's available. This change will have no effect for typical builds with Cargo, as Cargo will just pick the latest version and download it. But in more restrictive/sandboxed build environments where the latest versions of packages might not be available, it's helpful to allow a wider range of versions. Only non-dev dependencies have been changed, and only in the three published packages. Tested locally by temporarily prefixing these depdency versions with `=` to force Cargo to use exactly that version, and verifying that build/test/run commands still worked.
1 parent 194bccb commit 08ddf18

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ logger = []
2828
ignore-logger-errors = []
2929

3030
[dependencies]
31-
bitflags = "1.3.2"
32-
log = { version = "0.4.17", default-features = false }
31+
bitflags = "1.3.1"
32+
log = { version = "0.4.5", default-features = false }
3333
ucs2 = "0.3.2"
3434
uefi-macros = "0.7.0"
3535

uefi-macros/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ is-it-maintained-open-issues = { repository = "rust-osdev/uefi-rs" }
1919
proc-macro = true
2020

2121
[dependencies]
22-
proc-macro2 = "1.0.38"
23-
quote = "1.0.18"
24-
syn = { version = "1.0.94", features = ["full"] }
22+
proc-macro2 = "1.0.28"
23+
quote = "1.0.9"
24+
syn = { version = "1.0.74", features = ["full"] }
2525

2626
[dev-dependencies]
2727
trybuild = "1.0.61"

uefi-services/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ is-it-maintained-open-issues = { repository = "rust-osdev/uefi-rs" }
1616

1717
[dependencies]
1818
uefi = { version = "0.16.0", features = ["alloc", "logger"] }
19-
log = { version = "0.4.14", default-features = false }
19+
log = { version = "0.4.5", default-features = false }
2020
cfg-if = "1.0.0"
2121
qemu-exit = { version = "3.0.1", optional = true }
2222

0 commit comments

Comments
 (0)