diff --git a/server/src/main.rs b/server/src/main.rs index c489f37..159a76b 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -2,7 +2,7 @@ #![forbid(unsafe_code)] use std::{pin::Pin, sync::Arc}; -use tokio::{fs::OpenOptions, io::AsyncWriteExt}; +use tokio::{fs::{File, OpenOptions}, io::AsyncWriteExt, sync::Mutex}; use tokio_stream::{wrappers::ReceiverStream, Stream, StreamExt}; use tonic::{transport::Server, Request, Response, Status}; use tracing::{info, error};