deps: Remove url from n34 dependencies

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-08-02 14:23:56 +00:00
parent 0ba58dcbd0
commit bc8c6f3154
3 changed files with 4 additions and 4 deletions

1
Cargo.lock generated
View File

@@ -1197,7 +1197,6 @@ dependencies = [
"toml",
"tracing",
"tracing-subscriber",
"url",
]
[[package]]

View File

@@ -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"

View File

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