mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-21 23:14:19 +01:00
refactor(pubky): remove unused flume
This commit is contained in:
@@ -3,7 +3,6 @@ use std::{
|
||||
};
|
||||
|
||||
use anyhow::{Error, Result};
|
||||
use lru::LruCache;
|
||||
use pubky_common::auth::AuthnVerifier;
|
||||
use tokio::{net::TcpListener, signal, sync::Mutex, task::JoinSet};
|
||||
use tracing::{debug, info, warn};
|
||||
|
||||
@@ -18,12 +18,11 @@ reqwest = { version = "0.12.5", features = ["cookies"] }
|
||||
bytes = "1.6.1"
|
||||
|
||||
pubky-common = { version = "0.1.0", path = "../pubky-common" }
|
||||
flume = "0.11.0"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
pkarr = { version="2.1.0", features = ["async"] }
|
||||
|
||||
flume = { version = "0.11.0", features = ["select", "eventual-fairness"], default-features = false }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
pkarr = { version = "2.1.0", default-features = false }
|
||||
|
||||
@@ -48,9 +47,6 @@ tokio = "1.37.0"
|
||||
wasm-bindgen-test = "0.3.42"
|
||||
|
||||
[features]
|
||||
async = ["flume/async"]
|
||||
|
||||
default = ["async"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
@@ -25,10 +25,6 @@ pub enum Error {
|
||||
#[error(transparent)]
|
||||
Url(#[from] url::ParseError),
|
||||
|
||||
#[error(transparent)]
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
Flume(#[from] flume::RecvError),
|
||||
|
||||
#[error(transparent)]
|
||||
Reqwest(#[from] reqwest::Error),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user