From 8a7813d04ce1be26f8273bdeff0b610ae84c41d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Sun, 9 Oct 2022 18:53:57 +0200 Subject: [PATCH] gst: move format_serde.rs under format module --- gstreamer/src/{ => format}/format_serde.rs | 0 gstreamer/src/format/mod.rs | 3 +++ gstreamer/src/lib.rs | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) rename gstreamer/src/{ => format}/format_serde.rs (100%) diff --git a/gstreamer/src/format_serde.rs b/gstreamer/src/format/format_serde.rs similarity index 100% rename from gstreamer/src/format_serde.rs rename to gstreamer/src/format/format_serde.rs diff --git a/gstreamer/src/format/mod.rs b/gstreamer/src/format/mod.rs index 959350ac2..4e1161d69 100644 --- a/gstreamer/src/format/mod.rs +++ b/gstreamer/src/format/mod.rs @@ -415,6 +415,9 @@ mod clock_time_serde; mod compatible; pub use compatible::*; +#[cfg(feature = "serde")] +mod format_serde; + mod generic; pub use generic::*; diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index 2a03b3e13..6aaf06310 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -224,8 +224,6 @@ pub use crate::format::{ Signed, SpecificFormattedValue, SpecificFormattedValueFullRange, SpecificFormattedValueIntrinsic, UnsignedIntoSigned, }; -#[cfg(feature = "serde")] -mod format_serde; mod segment; pub use crate::segment::*;