fix lints

This commit is contained in:
ranfdev
2023-11-15 12:15:01 +01:00
parent 83f8c2407e
commit 725d5a36ca
6 changed files with 12 additions and 17 deletions

View File

@ -1,4 +1,4 @@
use std::cell::{Cell, RefCell};
use std::cell::RefCell;
use std::collections::HashMap;
use std::rc::Rc;

View File

@ -8,7 +8,6 @@ pub mod ntfy_capnp {
include!(concat!(env!("OUT_DIR"), "/src/ntfy_capnp.rs"));
}
use std::rc::Rc;
use std::sync::Arc;
#[derive(Clone)]

View File

@ -1,4 +1,4 @@
use std::cell::{Cell, OnceCell, RefCell};
use std::cell::{Cell, RefCell};
use std::ops::ControlFlow;
use std::rc::{Rc, Weak};
use std::sync::Arc;
@ -20,7 +20,7 @@ use crate::SharedEnv;
use crate::{
message_repo::Db,
models::{self, MinMessage},
ntfy_capnp::{account, output_channel, subscription, system_notifier, watch_handle, Status},
ntfy_capnp::{output_channel, subscription, system_notifier, watch_handle, Status},
topic_listener::{build_client, TopicListener},
};

View File

@ -1,10 +1,8 @@
use std::collections::HashMap;
use std::ops::ControlFlow;
use std::sync::Arc;
use std::time::Duration;
use futures::prelude::*;
use reqwest::header::HeaderValue;
use serde::{Deserialize, Serialize};
use tokio::io::AsyncBufReadExt;
use tokio::sync::mpsc;