From caa292d0dcd5ab007165f705b67adf0fca302fe6 Mon Sep 17 00:00:00 2001 From: Will Glynn Date: Sat, 24 Aug 2019 20:09:22 -0500 Subject: [PATCH] Remove dependency on mopa crate mopa::Any is less necessary with changes to std::any::Any, and specs wasn't calling the mopafy!() macro for Component anyway. --- Cargo.toml | 1 - src/storage/tests.rs | 2 +- src/world/comp.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d7dbc4ff0..49acdcfc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,6 @@ derivative = "1" hashbrown = "0.5.0" hibitset = { version = "0.6.1", default-features = false } log = "0.4" -mopa = "0.2" shred = { version = "0.9.1", default-features = false } shrev = "1.1.1" tuple_utils = "0.3" diff --git a/src/storage/tests.rs b/src/storage/tests.rs index 5cd22869d..b87158acd 100644 --- a/src/storage/tests.rs +++ b/src/storage/tests.rs @@ -1,4 +1,4 @@ -use mopa::Any; +use std::any::Any; use super::*; use crate::world::{Component, Entity, Generation, Index, WorldExt}; diff --git a/src/world/comp.rs b/src/world/comp.rs index 8cf461cb7..b0726ac66 100644 --- a/src/world/comp.rs +++ b/src/world/comp.rs @@ -1,4 +1,4 @@ -use mopa::Any; +use std::any::Any; use crate::storage::UnprotectedStorage;