diff --git a/src/accountmanager.rs b/src/accountmanager.rs index 88c37ab..f6d2597 100644 --- a/src/accountmanager.rs +++ b/src/accountmanager.rs @@ -257,10 +257,12 @@ impl Manifest { } /// Return all loaded accounts. Order is not guarenteed. + #[allow(dead_code)] pub fn get_all_loaded(&self) -> Vec>> { return self.accounts.values().cloned().into_iter().collect(); } + #[allow(dead_code)] pub fn get_entry( &self, account_name: &String, @@ -271,6 +273,7 @@ impl Manifest { .ok_or(ManifestAccountLoadError::MissingManifestEntry) } + #[allow(dead_code)] pub fn get_entry_mut( &mut self, account_name: &String, diff --git a/steamguard/src/api_responses/ITwoFactorService.rs b/steamguard/src/api_responses/i_two_factor_service.rs similarity index 100% rename from steamguard/src/api_responses/ITwoFactorService.rs rename to steamguard/src/api_responses/i_two_factor_service.rs diff --git a/steamguard/src/api_responses/mod.rs b/steamguard/src/api_responses/mod.rs index cd225fc..a2c0fc1 100644 --- a/steamguard/src/api_responses/mod.rs +++ b/steamguard/src/api_responses/mod.rs @@ -1,10 +1,10 @@ -mod ITwoFactorService; +mod i_two_factor_service; mod login; mod phone_ajax; +pub use i_two_factor_service::*; pub use login::*; pub use phone_ajax::*; -pub use ITwoFactorService::*; use serde::{Deserialize, Deserializer};