diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-06-23 16:53:02 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-06-23 17:02:24 +0200 |
commit | 3673dffbe89ca0125cf06ba8a399a468fca5b485 (patch) | |
tree | dabdf5ba9c26e2504275fc31d0da1cc17726ad4e | |
parent | 6145387115257598dd05c78cc9048a7937298289 (diff) |
tedge_lib: Replace type_uuid with bevy_reflect
This patch replaces the type_uuid with the bevy_reflect crate, to fix
the crate for the change from
commit 10ef8e00bd7c78ed709c933edd92a59cc885e341 ("Change TypeUuid implementation to bevy_reflect")
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | crates/core/tedge_lib/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/core/tedge_lib/src/measurement.rs | 2 | ||||
-rw-r--r-- | crates/core/tedge_lib/src/notification.rs | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -3627,6 +3627,7 @@ name = "tedge_lib" version = "0.1.0" dependencies = [ "async-trait", + "bevy_reflect", "futures", "humantime-serde", "indoc", @@ -3641,7 +3642,6 @@ dependencies = [ "toml", "tracing", "tracing-subscriber 0.3.11", - "type-uuid", ] [[package]] diff --git a/crates/core/tedge_lib/Cargo.toml b/crates/core/tedge_lib/Cargo.toml index d9adc4e7..b5fd374c 100644 --- a/crates/core/tedge_lib/Cargo.toml +++ b/crates/core/tedge_lib/Cargo.toml @@ -18,7 +18,7 @@ humantime-serde = "1" indoc = "1.0.6" itertools = "0.10" miette = "4.4" -type-uuid = "0.1.2" +bevy_reflect = "0.7.0" tedge_api = { path = "../tedge_api" } diff --git a/crates/core/tedge_lib/src/measurement.rs b/crates/core/tedge_lib/src/measurement.rs index 29b74da5..5a8b97c4 100644 --- a/crates/core/tedge_lib/src/measurement.rs +++ b/crates/core/tedge_lib/src/measurement.rs @@ -1,5 +1,5 @@ use std::collections::HashMap; -use type_uuid::TypeUuid; +use bevy_reflect::TypeUuid; #[derive(Clone, Debug, serde::Serialize, serde::Deserialize, TypeUuid)] #[uuid = "daad7462-0298-40e0-97b5-1a7b0c2da297"] diff --git a/crates/core/tedge_lib/src/notification.rs b/crates/core/tedge_lib/src/notification.rs index 4ad1db68..776a4365 100644 --- a/crates/core/tedge_lib/src/notification.rs +++ b/crates/core/tedge_lib/src/notification.rs @@ -1,4 +1,4 @@ -#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, type_uuid::TypeUuid)] +#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, bevy_reflect::TypeUuid)] #[uuid = "54b0bde3-64e7-493f-83f5-db2caa0cd585"] #[non_exhaustive] pub enum Notification { |