From cde5b73907c695256ad6de9c5909147863da509a Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Thu, 2 Mar 2023 09:40:24 -0500 Subject: [PATCH] cargo-fix --- trifid-api/src/org.rs | 2 +- trifid-api/src/routes/v1/ca.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trifid-api/src/org.rs b/trifid-api/src/org.rs index dc7d723..501b14a 100644 --- a/trifid-api/src/org.rs +++ b/trifid-api/src/org.rs @@ -15,7 +15,7 @@ // along with this program. If not, see . use std::error::Error; -use log::info; + use rocket::form::validate::Contains; use sqlx::PgPool; use trifid_pki::ca::NebulaCAPool; diff --git a/trifid-api/src/routes/v1/ca.rs b/trifid-api/src/routes/v1/ca.rs index 02e3c1c..fe7b442 100644 --- a/trifid-api/src/routes/v1/ca.rs +++ b/trifid-api/src/routes/v1/ca.rs @@ -14,12 +14,12 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use ipnet::Ipv4Net; -use rocket::{post, options, get, State}; + +use rocket::{options, get, State}; use rocket::http::{ContentType, Status}; use rocket::serde::json::Json; use sqlx::PgPool; -use crate::config::TFConfig; + use serde::{Serialize, Deserialize}; use crate::auth::TOTPAuthenticatedUserInfo; use crate::org::{get_associated_orgs, get_org_ca_pool};