From d5de3dd06c3c6b91dc830c3f259283956f2e8c9c Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 3 Jan 2024 12:22:45 -0600 Subject: [PATCH] Clean up unused import warnings (#716) --- cli/src/collector_credentials.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/src/collector_credentials.rs b/cli/src/collector_credentials.rs index 1745f34e..9de086bd 100644 --- a/cli/src/collector_credentials.rs +++ b/cli/src/collector_credentials.rs @@ -2,11 +2,13 @@ use crate::{CliResult, DetermineAccountId, Error, Output}; use base64::{engine::general_purpose::STANDARD, Engine}; use clap::Subcommand; use divviup_client::{Decode, DivviupClient, HpkeConfig, Uuid}; -use std::{borrow::Cow, env::current_dir, fs::File, io::Write, path::PathBuf}; +use std::{borrow::Cow, path::PathBuf}; use trillium_tokio::tokio::fs; #[cfg(feature = "hpke")] use hpke_dispatch::{Aead, Kdf, Kem}; +#[cfg(feature = "hpke")] +use std::{env::current_dir, fs::File, io::Write}; #[derive(Subcommand, Debug)] pub enum CollectorCredentialAction {