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::*;