diff --git a/crates/polars-io/src/cloud/options.rs b/crates/polars-io/src/cloud/options.rs index 015a8cae2f1..4159671204f 100644 --- a/crates/polars-io/src/cloud/options.rs +++ b/crates/polars-io/src/cloud/options.rs @@ -25,8 +25,6 @@ use polars_error::*; #[cfg(feature = "aws")] use polars_utils::cache::FastFixedCache; #[cfg(feature = "aws")] -use polars_utils::pl_str::PlSmallStr; -#[cfg(feature = "aws")] use regex::Regex; #[cfg(feature = "http")] use reqwest::header::HeaderMap; @@ -43,8 +41,11 @@ use crate::file_cache::get_env_file_cache_ttl; use crate::pl_async::with_concurrency_budget; #[cfg(feature = "aws")] -static BUCKET_REGION: Lazy>> = - Lazy::new(|| std::sync::Mutex::new(FastFixedCache::new(32))); +static BUCKET_REGION: Lazy< + std::sync::Mutex< + FastFixedCache, + >, +> = Lazy::new(|| std::sync::Mutex::new(FastFixedCache::new(32))); /// The type of the config keys must satisfy the following requirements: /// 1. must be easily collected into a HashMap, the type required by the object_crate API. @@ -406,7 +407,7 @@ impl CloudOptions { pub fn build_azure(&self, url: &str) -> PolarsResult { use super::credential_provider::IntoCredentialProvider; - let mut storage_account: Option = None; + let mut storage_account: Option = None; // The credential provider `self.credentials` is prioritized if it is set. We also need // `from_env()` as it may source environment configured storage account name.