diff --git a/src/main.rs b/src/main.rs index 8ffdb9c..2170f39 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,4 @@ -#![allow( - clippy::module_inception, - clippy::result_large_err, - clippy::type_complexity -)] +#![allow(clippy::result_large_err, clippy::type_complexity)] mod kvstore; mod package_db; mod prelude; diff --git a/src/package_db/package_db.rs b/src/package_db/_package_db.rs similarity index 100% rename from src/package_db/package_db.rs rename to src/package_db/_package_db.rs diff --git a/src/package_db/http/http.rs b/src/package_db/http/_http.rs similarity index 100% rename from src/package_db/http/http.rs rename to src/package_db/http/_http.rs diff --git a/src/package_db/http/lazy_remote_file.rs b/src/package_db/http/lazy_remote_file.rs index dab8655..56fcfe8 100644 --- a/src/package_db/http/lazy_remote_file.rs +++ b/src/package_db/http/lazy_remote_file.rs @@ -1,6 +1,6 @@ use crate::prelude::*; -use super::http::{CacheMode, HttpInner}; +use super::_http::{CacheMode, HttpInner}; use std::cmp; use std::collections::BTreeMap; use std::io::{self, Read, Seek, SeekFrom}; diff --git a/src/package_db/http/mod.rs b/src/package_db/http/mod.rs index bb19c17..573e4b8 100644 --- a/src/package_db/http/mod.rs +++ b/src/package_db/http/mod.rs @@ -1,7 +1,7 @@ -mod http; +mod _http; pub mod lazy_remote_file; pub mod ureq_glue; pub mod user_agent; -pub use self::http::{CacheMode, Http, HttpInner, NotCached}; +pub use self::_http::{CacheMode, Http, HttpInner, NotCached}; pub use self::lazy_remote_file::LazyRemoteFile; diff --git a/src/package_db/mod.rs b/src/package_db/mod.rs index 462e3ee..eea5303 100644 --- a/src/package_db/mod.rs +++ b/src/package_db/mod.rs @@ -1,8 +1,8 @@ +mod _package_db; mod build_wheel; mod http; -mod package_db; mod simple_api; +pub use _package_db::PackageDB; pub use build_wheel::WheelBuilder; -pub use package_db::PackageDB; pub use simple_api::ArtifactInfo;