From: Ian Jackson Date: Sat, 14 May 2022 16:11:56 +0000 (+0100) Subject: Drop some unneeded re-exports, and make the use of imports::* pub X-Git-Tag: otter-1.1.0~177 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5db5fd6287a6fe75ad16acd60f1666fce06c21e8;p=otter.git 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 --- 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;