From bc8c6f3154b40ec27e27a665d40a09bf149e3f69 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sat, 2 Aug 2025 14:23:56 +0000
Subject: [PATCH] deps: Remove `url` from `n34` dependencies
Signed-off-by: Awiteb
---
Cargo.lock | 1 -
Cargo.toml | 1 -
src/cli/types.rs | 6 ++++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 269bb70..6cc9e9e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1197,7 +1197,6 @@ dependencies = [
"toml",
"tracing",
"tracing-subscriber",
- "url",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 19ef914..c2bf04c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"
diff --git a/src/cli/types.rs b/src/cli/types.rs
index fc11e0b..28d1de5 100644
--- a/src/cli/types.rs
+++ b/src/cli/types.rs
@@ -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>> {
+ fn on_auth_url(
+ &self,
+ auth_url: nostr::Url,
+ ) -> BoxedFuture>> {
Box::pin(async move {
println!("The bunker requires authentication. Please open this URL: {auth_url}");
Ok(())