Rejiggle the imports a bit

This commit is contained in:
Aleksei Voronov 2023-08-31 15:16:28 +02:00
parent a18d448c38
commit 262cd707b4
1 changed files with 4 additions and 6 deletions

View File

@ -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<()> {