Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix: udeps #2215

Merged
merged 1 commit into from
Mar 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions ethers-signers/src/aws/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,19 +279,12 @@ impl super::Signer for AwsSigner {

#[cfg(test)]
mod tests {
use super::*;
use crate::Signer;
use rusoto_core::{
credential::{EnvironmentProvider, StaticProvider},
Client, HttpClient, Region,
};
use tracing::metadata::LevelFilter;

use super::*;
use crate::Signer;

#[allow(dead_code)]
fn setup_tracing() {
tracing_subscriber::fmt().with_max_level(LevelFilter::DEBUG).try_init().unwrap();
}

#[allow(dead_code)]
fn static_client() -> KmsClient {
Expand All @@ -318,7 +311,6 @@ mod tests {
Ok(id) => id,
_ => return,
};
setup_tracing();
let client = env_client();
let signer = AwsSigner::new(client, key_id, chain_id).await.unwrap();

Expand Down