diff --git a/Cargo.toml b/Cargo.toml index 332575a..11b9e13 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", "static-sqlite"] } 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;