Remove unused dependency on once_cell in bevy_render (#9039)

# Objective

bevy_render currently has a dependency on a random older version of
once_cell which is not used anywhere.

## Solution

Remove the dependency

## Changelog

N/A

## Migration Guide

N/A
This commit is contained in:
Vincent 2023-07-04 22:30:58 +01:00 committed by GitHub
parent ca3068a1fc
commit 608367f905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -65,7 +65,6 @@ serde = { version = "1", features = ["derive"] }
bitflags = "2.3" bitflags = "2.3"
bytemuck = { version = "1.5", features = ["derive"] } bytemuck = { version = "1.5", features = ["derive"] }
smallvec = { version = "1.6", features = ["union", "const_generics"] } smallvec = { version = "1.6", features = ["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" downcast-rs = "1.2.0"
thread_local = "1.1" thread_local = "1.1"
thiserror = "1.0" thiserror = "1.0"

View file

@ -43,7 +43,6 @@ pub mod prelude {
use bevy_window::{PrimaryWindow, RawHandleWrapper}; use bevy_window::{PrimaryWindow, RawHandleWrapper};
use globals::GlobalsPlugin; use globals::GlobalsPlugin;
pub use once_cell;
use renderer::{RenderAdapter, RenderAdapterInfo, RenderDevice, RenderQueue}; use renderer::{RenderAdapter, RenderAdapterInfo, RenderDevice, RenderQueue};
use wgpu::Instance; use wgpu::Instance;