mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Fix warnings in bevy_reflect (#11556)
# Objective - Address junk leftover by TypeUuid removal ## Solution - Get rid of unused deps and imports --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
parent
1e241fb6b4
commit
886a2560d2
2 changed files with 2 additions and 5 deletions
|
@ -36,7 +36,6 @@ glam = { version = "0.25", features = ["serde"], optional = true }
|
|||
smol_str = { version = "0.2.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
glam = { version = "0.25", features = ["serde"] }
|
||||
ron = "0.8.0"
|
||||
rmp-serde = "1.1"
|
||||
bincode = "1.3"
|
||||
|
|
|
@ -535,15 +535,12 @@ pub mod __macro_exports {
|
|||
#[cfg(test)]
|
||||
#[allow(clippy::disallowed_types, clippy::approx_constant)]
|
||||
mod tests {
|
||||
use ::serde::{de::DeserializeSeed, Deserialize, Serialize};
|
||||
use bevy_utils::HashMap;
|
||||
#[rustfmt::skip] // This is used to avoid import conflicts with `super`
|
||||
use ::glam::{quat, vec3, Quat, Vec3};
|
||||
use ron::{
|
||||
ser::{to_string_pretty, PrettyConfig},
|
||||
Deserializer,
|
||||
};
|
||||
#[rustfmt::skip] // This is used to avoid import conflicts with `super::`
|
||||
use ::serde::{de::DeserializeSeed, Deserialize, Serialize};
|
||||
use std::{
|
||||
any::TypeId,
|
||||
borrow::Cow,
|
||||
|
@ -1996,6 +1993,7 @@ bevy_reflect::tests::Test {
|
|||
#[cfg(feature = "glam")]
|
||||
mod glam {
|
||||
use super::*;
|
||||
use ::glam::{quat, vec3, Quat, Vec3};
|
||||
|
||||
#[test]
|
||||
fn quat_serialization() {
|
||||
|
|
Loading…
Reference in a new issue