mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
chore: address Rust 1.83.0 clippy lints and enable more clippy lints (#6705)
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
//!
|
||||
//! Module for managing file storage operations with support for multiple storage schemes.
|
||||
//!
|
||||
|
||||
use std::{
|
||||
fmt::{Display, Formatter},
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
//!
|
||||
//! Module for local file system storage operations
|
||||
//!
|
||||
|
||||
use std::{
|
||||
fs::{remove_file, 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<
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
//!
|
||||
//! Encryption management util module
|
||||
//!
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
//!
|
||||
//! Secrets management util module
|
||||
//!
|
||||
|
||||
use common_utils::errors::CustomResult;
|
||||
#[cfg(feature = "hashicorp-vault")]
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
//!
|
||||
//! No encryption functionalities
|
||||
//!
|
||||
|
||||
pub mod core;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user