chiark / gitweb /
Drop some unneeded re-exports, and make the use of imports::* pub
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 16:11:56 +0000 (17:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 18:09:56 +0000 (19:09 +0100)
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 <ijackson@chiark.greenend.org.uk>
src/prelude.rs

index 765871c60bb0bb2da0ebe06eeed2732cab715a99..d48a9cb819a73d0ee8e3063817cb7369c700f597 100644 (file)
@@ -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;