Skip to content

Commit fbf561c

Browse files
committed
Update minimal version requirements for dependencies (#2460)
This was tested using cargo generate-lockfile -Zminimal-versions. The following indirect dependencies also have minimal version dependencies. For at least num, rustc-serialize and rand this is necessary to compile on rustc versions that are not older than 1.0. * num = "0.1.27" * rustc-serialize = "0.3.20" * termcolor = "1.0.4" * libudev-sys = "0.1.1" * rand = "0.3.14" * ab_glyph = "0.2.7 Based on #2455
1 parent ebd1068 commit fbf561c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ bevy_dylib = {path = "crates/bevy_dylib", version = "0.5.0", default-features =
8686
bevy_internal = {path = "crates/bevy_internal", version = "0.5.0", default-features = false}
8787

8888
[dev-dependencies]
89-
anyhow = "1.0"
89+
anyhow = "1.0.4"
9090
rand = "0.8.0"
9191
ron = "0.6.2"
9292
serde = {version = "1", features = ["derive"]}

crates/bevy_asset/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
2929
# other
3030
serde = { version = "1", features = ["derive"] }
3131
crossbeam-channel = "0.5.0"
32-
anyhow = "1.0"
32+
anyhow = "1.0.4"
3333
thiserror = "1.0"
3434
downcast-rs = "1.2.0"
3535
notify = { version = "5.0.0-pre.2", optional = true }

crates/bevy_audio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy"
2121
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
2222

2323
# other
24-
anyhow = "1.0"
24+
anyhow = "1.0.4"
2525
rodio = { version = "0.14", default-features = false }
2626
parking_lot = "0.11.0"
2727

crates/bevy_gltf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ bevy_log = { path = "../bevy_log", version = "0.5.0" }
2929
# other
3030
gltf = { version = "0.16.0", default-features = false, features = ["utils", "names", "KHR_materials_unlit"] }
3131
thiserror = "1.0"
32-
anyhow = "1.0"
32+
anyhow = "1.0.4"
3333
base64 = "0.13.0"
3434
percent-encoding = "2.1"

crates/bevy_render/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ bitflags = "1.2.1"
3434
once_cell = "1.4.1" # TODO: replace once_cell with std equivalent if/when this lands: https://github.com/rust-lang/rfcs/pull/2788
3535
downcast-rs = "1.2.0"
3636
thiserror = "1.0"
37-
anyhow = "1.0"
37+
anyhow = "1.0.4"
3838
hex = "0.4.2"
3939
hexasphere = "4.0.0"
4040
parking_lot = "0.11.0"

crates/bevy_scene/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
2525
serde = { version = "1.0", features = ["derive"] }
2626
ron = "0.6.2"
2727
uuid = { version = "0.8", features = ["v4", "serde"] }
28-
anyhow = "1.0"
28+
anyhow = "1.0.4"
2929
thiserror = "1.0"

crates/bevy_tasks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ futures-lite = "1.4.0"
2020
event-listener = "2.4.0"
2121
async-executor = "1.3.0"
2222
async-channel = "1.4.2"
23-
num_cpus = "1"
23+
num_cpus = "1.0.1"
2424

2525
[target.'cfg(target_arch = "wasm32")'.dependencies]
2626
wasm-bindgen-futures = "0.4"

crates/bevy_text/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bevy_window = { path = "../bevy_window", version = "0.5.0" }
3030
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
3131

3232
# other
33-
anyhow = "1.0"
33+
anyhow = "1.0.4"
3434
ab_glyph = "0.2.6"
3535
glyph_brush_layout = "0.2.1"
3636
thiserror = "1.0"

crates/bevy_ui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ bevy_window = { path = "../bevy_window", version = "0.5.0" }
3131
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
3232

3333
# other
34-
stretch = "0.3"
34+
stretch = "0.3.2"
3535
serde = {version = "1", features = ["derive"]}
3636
smallvec = { version = "1.6", features = ["union", "const_generics"] }

0 commit comments

Comments
 (0)