From 775e1f101e1b826244d50b7e4dcda877ecaacd76 Mon Sep 17 00:00:00 2001 From: Binarybaron Date: Tue, 17 Dec 2024 15:37:03 +0100 Subject: [PATCH 1/2] bump: arti to 0.25.0 --- Cargo.toml | 10 +++++----- src/lib.rs | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 332575a..ed01733 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,14 +14,14 @@ anyhow = "1.0.93" tokio = "1.41.1" futures = "0.3" -arti-client = { version = "0.24", default-features = false, features = ["tokio", "rustls", "onion-service-client"] } +arti-client = { version = "^0.25", default-features = false, features = ["tokio", "rustls", "onion-service-client"] } libp2p = { version = "^0.53", default-features = false, features = ["tokio", "tcp", "tls"] } -tor-rtcompat = { version = "0.24.0", features = ["tokio", "rustls"] } +tor-rtcompat = { version = "^0.25", features = ["tokio", "rustls"] } tracing = "0.1.40" -tor-hsservice = { version = "0.24.0", optional = true } -tor-cell = { version = "0.24.0", optional = true } -tor-proto = { version = "0.24.0", optional = true } +tor-hsservice = { version = "^0.25", optional = true } +tor-cell = { version = "^0.25", optional = true } +tor-proto = { version = "^0.25", optional = true } data-encoding = { version = "2.6.0" } [dev-dependencies] diff --git a/src/lib.rs b/src/lib.rs index 35c1865..70b1799 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,9 +57,9 @@ use libp2p::{ core::transport::{ListenerId, TransportEvent}, Multiaddr, Transport, TransportError, }; +use std::pin::Pin; +use std::sync::Arc; use std::task::{Context, Poll}; -use std::{collections::HashSet, pin::Pin}; -use std::{collections::VecDeque, sync::Arc}; use thiserror::Error; use tor_rtcompat::tokio::TokioRustlsRuntime; From e6b913e0f1ac1fc90b3ee4dd31b5511140c4a9af Mon Sep 17 00:00:00 2001 From: Binarybaron Date: Tue, 17 Dec 2024 19:03:25 +0100 Subject: [PATCH 2/2] fix: enable static-sqlite feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ed01733..11b9e13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.93" tokio = "1.41.1" futures = "0.3" -arti-client = { version = "^0.25", default-features = false, features = ["tokio", "rustls", "onion-service-client"] } +arti-client = { version = "^0.25", default-features = false, features = ["tokio", "rustls", "onion-service-client", "static-sqlite"] } libp2p = { version = "^0.53", default-features = false, features = ["tokio", "tcp", "tls"] } tor-rtcompat = { version = "^0.25", features = ["tokio", "rustls"] }