chore: address Rust 1.83.0 clippy lints and enable more clippy lints (#6705)

This commit is contained in:
Sanchith Hegde
2024-12-02 20:00:44 +05:30
committed by GitHub
parent 797a0db773
commit 9a59d0a5ff
139 changed files with 147 additions and 417 deletions

View File

@ -1,6 +1,4 @@
//!
//! Module for managing file storage operations with support for multiple storage schemes.
//!
use std::{
fmt::{Display, Formatter},

View File

@ -1,6 +1,4 @@
//!
//! Module for local file system storage operations
//!
use std::{
fs::{remove_file, File},

View File

@ -103,7 +103,6 @@ impl HashiCorpVault {
/// # Parameters
///
/// - `config`: A reference to a `HashiCorpVaultConfig` containing the configuration details.
///
pub fn new(config: &HashiCorpVaultConfig) -> error_stack::Result<Self, HashiCorpError> {
VaultClient::new(
VaultClientSettingsBuilder::default()
@ -129,7 +128,6 @@ impl HashiCorpVault {
///
/// - `En`: The engine type that implements the `Engine` trait.
/// - `I`: The type that can be constructed from the retrieved encoded data.
///
pub async fn fetch<En, I>(&self, data: String) -> error_stack::Result<I, HashiCorpError>
where
for<'a> En: Engine<

View File

@ -1,6 +1,4 @@
//!
//! Encryption management util module
//!
use std::sync::Arc;

View File

@ -1,6 +1,4 @@
//!
//! Secrets management util module
//!
use common_utils::errors::CustomResult;
#[cfg(feature = "hashicorp-vault")]

View File

@ -1,6 +1,4 @@
//!
//! No encryption functionalities
//!
pub mod core;