deps: Remove url from n34 dependencies
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1197,7 +1197,6 @@ dependencies = [
|
||||
"toml",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -35,7 +35,6 @@ tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"] }
|
||||
toml = "0.8.22"
|
||||
tracing = "0.1.41"
|
||||
tracing-subscriber = "0.3.19"
|
||||
url = { version = "2.5.4", features = ["serde"] }
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
|
||||
@@ -28,7 +28,6 @@ use nostr::{
|
||||
};
|
||||
use nostr_connect::client::AuthUrlHandler;
|
||||
use tokio::runtime::Handle;
|
||||
use url::Url;
|
||||
|
||||
use super::{RepoRelaySetsExt, parsers};
|
||||
use crate::{
|
||||
@@ -68,7 +67,10 @@ pub struct NostrEvent {
|
||||
pub struct EchoAuthUrl;
|
||||
|
||||
impl AuthUrlHandler for EchoAuthUrl {
|
||||
fn on_auth_url(&self, auth_url: Url) -> BoxedFuture<Result<(), Box<dyn std::error::Error>>> {
|
||||
fn on_auth_url(
|
||||
&self,
|
||||
auth_url: nostr::Url,
|
||||
) -> BoxedFuture<Result<(), Box<dyn std::error::Error>>> {
|
||||
Box::pin(async move {
|
||||
println!("The bunker requires authentication. Please open this URL: {auth_url}");
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user