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 https://github.com/bevyengine/bevy/pull/2455
This commit is contained in:
bjorn3 2021-07-15 21:25:49 +00:00
parent ebd10681ac
commit fbf561c2bb
9 changed files with 9 additions and 9 deletions

View file

@ -86,7 +86,7 @@ bevy_dylib = {path = "crates/bevy_dylib", version = "0.5.0", default-features =
bevy_internal = {path = "crates/bevy_internal", version = "0.5.0", default-features = false} bevy_internal = {path = "crates/bevy_internal", version = "0.5.0", default-features = false}
[dev-dependencies] [dev-dependencies]
anyhow = "1.0" anyhow = "1.0.4"
rand = "0.8.0" rand = "0.8.0"
ron = "0.6.2" ron = "0.6.2"
serde = {version = "1", features = ["derive"]} serde = {version = "1", features = ["derive"]}

View file

@ -29,7 +29,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other # other
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.0"
anyhow = "1.0" anyhow = "1.0.4"
thiserror = "1.0" thiserror = "1.0"
downcast-rs = "1.2.0" downcast-rs = "1.2.0"
notify = { version = "5.0.0-pre.2", optional = true } notify = { version = "5.0.0-pre.2", optional = true }

View file

@ -21,7 +21,7 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy"
bevy_utils = { path = "../bevy_utils", version = "0.5.0" } bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other # other
anyhow = "1.0" anyhow = "1.0.4"
rodio = { version = "0.14", default-features = false } rodio = { version = "0.14", default-features = false }
parking_lot = "0.11.0" parking_lot = "0.11.0"

View file

@ -29,6 +29,6 @@ bevy_log = { path = "../bevy_log", version = "0.5.0" }
# other # other
gltf = { version = "0.16.0", default-features = false, features = ["utils", "names", "KHR_materials_unlit"] } gltf = { version = "0.16.0", default-features = false, features = ["utils", "names", "KHR_materials_unlit"] }
thiserror = "1.0" thiserror = "1.0"
anyhow = "1.0" anyhow = "1.0.4"
base64 = "0.13.0" base64 = "0.13.0"
percent-encoding = "2.1" percent-encoding = "2.1"

View file

@ -34,7 +34,7 @@ bitflags = "1.2.1"
once_cell = "1.4.1" # TODO: replace once_cell with std equivalent if/when this lands: https://github.com/rust-lang/rfcs/pull/2788 once_cell = "1.4.1" # TODO: replace once_cell with std equivalent if/when this lands: https://github.com/rust-lang/rfcs/pull/2788
downcast-rs = "1.2.0" downcast-rs = "1.2.0"
thiserror = "1.0" thiserror = "1.0"
anyhow = "1.0" anyhow = "1.0.4"
hex = "0.4.2" hex = "0.4.2"
hexasphere = "4.0.0" hexasphere = "4.0.0"
parking_lot = "0.11.0" parking_lot = "0.11.0"

View file

@ -25,5 +25,5 @@ bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
ron = "0.6.2" ron = "0.6.2"
uuid = { version = "0.8", features = ["v4", "serde"] } uuid = { version = "0.8", features = ["v4", "serde"] }
anyhow = "1.0" anyhow = "1.0.4"
thiserror = "1.0" thiserror = "1.0"

View file

@ -20,7 +20,7 @@ futures-lite = "1.4.0"
event-listener = "2.4.0" event-listener = "2.4.0"
async-executor = "1.3.0" async-executor = "1.3.0"
async-channel = "1.4.2" async-channel = "1.4.2"
num_cpus = "1" num_cpus = "1.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4" wasm-bindgen-futures = "0.4"

View file

@ -30,7 +30,7 @@ bevy_window = { path = "../bevy_window", version = "0.5.0" }
bevy_utils = { path = "../bevy_utils", version = "0.5.0" } bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other # other
anyhow = "1.0" anyhow = "1.0.4"
ab_glyph = "0.2.6" ab_glyph = "0.2.6"
glyph_brush_layout = "0.2.1" glyph_brush_layout = "0.2.1"
thiserror = "1.0" thiserror = "1.0"

View file

@ -31,6 +31,6 @@ bevy_window = { path = "../bevy_window", version = "0.5.0" }
bevy_utils = { path = "../bevy_utils", version = "0.5.0" } bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other # other
stretch = "0.3" stretch = "0.3.2"
serde = {version = "1", features = ["derive"]} serde = {version = "1", features = ["derive"]}
smallvec = { version = "1.6", features = ["union", "const_generics"] } smallvec = { version = "1.6", features = ["union", "const_generics"] }