From 1acf07374174f1084c31138f2f0a6ec916c7f8e8 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 20 Feb 2020 18:32:38 +0100 Subject: [PATCH] fix re-exports of crate submodules --- nihav-commonfmt/src/lib.rs | 4 ++-- nihav-duck/src/lib.rs | 2 +- nihav-game/src/lib.rs | 4 ++-- nihav-indeo/src/lib.rs | 2 +- nihav-rad/src/lib.rs | 4 ++-- nihav-realmedia/src/lib.rs | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/nihav-commonfmt/src/lib.rs b/nihav-commonfmt/src/lib.rs index 7896f12..ef5ad07 100644 --- a/nihav-commonfmt/src/lib.rs +++ b/nihav-commonfmt/src/lib.rs @@ -9,12 +9,12 @@ extern crate nihav_registry; mod codecs; #[cfg(feature="decoders")] -pub use codecs::generic_register_all_codecs; +pub use crate::codecs::generic_register_all_codecs; #[cfg(feature="demuxers")] mod demuxers; #[cfg(feature="demuxers")] -pub use demuxers::generic_register_all_demuxers; +pub use crate::demuxers::generic_register_all_demuxers; #[cfg(test)] extern crate nihav_realmedia; diff --git a/nihav-duck/src/lib.rs b/nihav-duck/src/lib.rs index 4e85ac5..69c2968 100644 --- a/nihav-duck/src/lib.rs +++ b/nihav-duck/src/lib.rs @@ -3,7 +3,7 @@ extern crate nihav_codec_support; mod codecs; -pub use codecs::duck_register_all_codecs; +pub use crate::codecs::duck_register_all_codecs; #[cfg(test)] extern crate nihav_commonfmt; diff --git a/nihav-game/src/lib.rs b/nihav-game/src/lib.rs index a91da7b..f2a94f9 100644 --- a/nihav-game/src/lib.rs +++ b/nihav-game/src/lib.rs @@ -2,6 +2,6 @@ extern crate nihav_core; extern crate nihav_codec_support; mod codecs; -pub use codecs::game_register_all_codecs; +pub use crate::codecs::game_register_all_codecs; mod demuxers; -pub use demuxers::game_register_all_demuxers; \ No newline at end of file +pub use crate::demuxers::game_register_all_demuxers; \ No newline at end of file diff --git a/nihav-indeo/src/lib.rs b/nihav-indeo/src/lib.rs index 844b69f..21b4cd9 100644 --- a/nihav-indeo/src/lib.rs +++ b/nihav-indeo/src/lib.rs @@ -9,7 +9,7 @@ extern crate nihav_codec_support; #[allow(clippy::verbose_bit_mask)] mod codecs; -pub use codecs::indeo_register_all_codecs; +pub use crate::codecs::indeo_register_all_codecs; #[cfg(test)] extern crate nihav_commonfmt; \ No newline at end of file diff --git a/nihav-rad/src/lib.rs b/nihav-rad/src/lib.rs index 21ef166..65b94e6 100644 --- a/nihav-rad/src/lib.rs +++ b/nihav-rad/src/lib.rs @@ -12,10 +12,10 @@ extern crate nihav_codec_support; #[allow(clippy::useless_let_if_seq)] mod codecs; #[cfg(feature="decoders")] -pub use codecs::rad_register_all_codecs; +pub use crate::codecs::rad_register_all_codecs; #[cfg(feature="demuxers")] #[allow(clippy::cast_lossless)] mod demuxers; #[cfg(feature="demuxers")] -pub use demuxers::rad_register_all_demuxers; +pub use crate::demuxers::rad_register_all_demuxers; diff --git a/nihav-realmedia/src/lib.rs b/nihav-realmedia/src/lib.rs index 944711e..aec7ef3 100644 --- a/nihav-realmedia/src/lib.rs +++ b/nihav-realmedia/src/lib.rs @@ -12,7 +12,7 @@ extern crate nihav_codec_support; #[allow(clippy::useless_let_if_seq)] mod codecs; #[cfg(feature="decoders")] -pub use codecs::realmedia_register_all_codecs; +pub use crate::codecs::realmedia_register_all_codecs; #[cfg(feature="demuxers")] #[allow(clippy::cast_lossless)] @@ -21,4 +21,4 @@ pub use codecs::realmedia_register_all_codecs; #[allow(clippy::useless_let_if_seq)] mod demuxers; #[cfg(feature="demuxers")] -pub use demuxers::realmedia_register_all_demuxers; \ No newline at end of file +pub use crate::demuxers::realmedia_register_all_demuxers; \ No newline at end of file -- 2.39.5