From 5db5fd6287a6fe75ad16acd60f1666fce06c21e8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 14 May 2022 17:11:56 +0100 Subject: [PATCH] Drop some unneeded re-exports, and make the use of imports::* pub I think these re-exports were there because I thought the multiple paths to import were making things ambiguous but actually, experimentation shows that making the imports re-export pub works and that it isn't possible to re-export things from the private use. Signed-off-by: Ian Jackson --- src/prelude.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/prelude.rs b/src/prelude.rs index 765871c6..d48a9cb8 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -2,11 +2,7 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. -use crate::imports::*; - -pub use crate::imports::{flexi_logger, thiserror}; -pub use crate::imports::serde_json; - +pub use crate::imports::*; pub use otter_base::prelude::*; pub use std::any::Any; -- 2.30.2