From 81166448df1d90655a1fe916c8269e03231042f0 Mon Sep 17 00:00:00 2001 From: TheRawMeatball Date: Wed, 5 May 2021 19:14:39 +0000 Subject: [PATCH] Move to smallvec v1.6 (#2074) --- crates/bevy_reflect/Cargo.toml | 2 +- crates/bevy_render/Cargo.toml | 5 ++--- crates/bevy_transform/Cargo.toml | 2 +- crates/bevy_ui/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index 6a78890debb617..df3f4babb2ef4c 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -27,7 +27,7 @@ downcast-rs = "1.2" parking_lot = "0.11.0" thiserror = "1.0" serde = "1" -smallvec = { version = "1.4", features = ["serde"], optional = true } +smallvec = { version = "1.6", features = ["serde", "union", "const_generics"], optional = true } glam = { version = "0.13.0", features = ["serde"], optional = true } [dev-dependencies] diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 4345723745d006..e06aff86cd7f39 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -31,9 +31,8 @@ image = { version = "0.23.12", default-features = false } # misc serde = { version = "1", features = ["derive"] } bitflags = "1.2.1" -smallvec = "1.4.2" -# TODO: replace once_cell with std equivalent if/when this lands: https://github.com/rust-lang/rfcs/pull/2788 -once_cell = "1.4.1" +smallvec = { version = "1.6", feautres = ["union", "const_generics"] } +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" thiserror = "1.0" anyhow = "1.0" diff --git a/crates/bevy_transform/Cargo.toml b/crates/bevy_transform/Cargo.toml index 82246805c7261b..4569f8929cdf1c 100644 --- a/crates/bevy_transform/Cargo.toml +++ b/crates/bevy_transform/Cargo.toml @@ -21,4 +21,4 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy" bevy_utils = { path = "../bevy_utils", version = "0.5.0" } # other -smallvec = { version = "1.4", features = ["serde"] } +smallvec = { version = "1.6", features = ["serde", "union", "const_generics"] } diff --git a/crates/bevy_ui/Cargo.toml b/crates/bevy_ui/Cargo.toml index 8eaa49a0edd81e..0c12d2db6f8d81 100644 --- a/crates/bevy_ui/Cargo.toml +++ b/crates/bevy_ui/Cargo.toml @@ -33,4 +33,4 @@ bevy_utils = { path = "../bevy_utils", version = "0.5.0" } # other stretch = "0.3" serde = {version = "1", features = ["derive"]} -smallvec = "1.4" \ No newline at end of file +smallvec = { version = "1.6", feautres = ["union", "const_generics"] } \ No newline at end of file