diff --git a/Cargo.lock b/Cargo.lock index c75a402a..0747c7df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5319,7 +5319,6 @@ dependencies = [ "bytes", "const-str", "ctor", - "either", "futures", "hickory-resolver", "http", diff --git a/src/core/mod.rs b/src/core/mod.rs index f991def9..d6936a60 100644 --- a/src/core/mod.rs +++ b/src/core/mod.rs @@ -13,6 +13,7 @@ pub mod server; pub mod utils; pub use ::arrayvec; +pub use ::either; pub use ::http; pub use ::itertools; pub use ::jsonwebtoken as jwt; diff --git a/src/service/Cargo.toml b/src/service/Cargo.toml index 78fd9b6d..61e60d2c 100644 --- a/src/service/Cargo.toml +++ b/src/service/Cargo.toml @@ -90,7 +90,6 @@ base64.workspace = true bytes.workspace = true const-str.workspace = true ctor.workspace = true -either.workspace = true futures.workspace = true hickory-resolver.workspace = true http.workspace = true diff --git a/src/service/client/mod.rs b/src/service/client/mod.rs index 64f1aa39..e97d8397 100644 --- a/src/service/client/mod.rs +++ b/src/service/client/mod.rs @@ -3,10 +3,9 @@ use std::{ time::Duration, }; -use either::Either; use ipaddress::IPAddress; use reqwest::{dns::Resolve, redirect}; -use tuwunel_core::{Config, Result, err, implement, trace}; +use tuwunel_core::{Config, Result, either::Either, err, implement, trace}; use crate::{service, services::OnceServices};