From 262cd707b495e551acaac6220dbb9ab6f695a31a Mon Sep 17 00:00:00 2001 From: Aleksei Voronov Date: Thu, 31 Aug 2023 15:16:28 +0200 Subject: [PATCH] Rejiggle the imports a bit --- src/main.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5b368b5..d37341e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,15 +2,13 @@ mod database; mod frames; mod streaming; -use crate::database::ConnectionPool; use anyhow::Result; use async_trait::async_trait; -use database::{insert_post, insert_profile_if_it_doesnt_exist}; -use streaming::{Operation, OperationProcessor}; - -use crate::database::make_connection_pool; -use crate::streaming::start_processing_operations_with; +use crate::database::{ + insert_post, insert_profile_if_it_doesnt_exist, make_connection_pool, ConnectionPool, +}; +use crate::streaming::{start_processing_operations_with, Operation, OperationProcessor}; #[tokio::main] async fn main() -> Result<()> {