Re-export Either from tuwunel_core.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-01-23 23:14:00 +00:00
parent f03321d33d
commit be542da6e4
4 changed files with 2 additions and 4 deletions

1
Cargo.lock generated
View File

@@ -5319,7 +5319,6 @@ dependencies = [
"bytes", "bytes",
"const-str", "const-str",
"ctor", "ctor",
"either",
"futures", "futures",
"hickory-resolver", "hickory-resolver",
"http", "http",

View File

@@ -13,6 +13,7 @@ pub mod server;
pub mod utils; pub mod utils;
pub use ::arrayvec; pub use ::arrayvec;
pub use ::either;
pub use ::http; pub use ::http;
pub use ::itertools; pub use ::itertools;
pub use ::jsonwebtoken as jwt; pub use ::jsonwebtoken as jwt;

View File

@@ -90,7 +90,6 @@ base64.workspace = true
bytes.workspace = true bytes.workspace = true
const-str.workspace = true const-str.workspace = true
ctor.workspace = true ctor.workspace = true
either.workspace = true
futures.workspace = true futures.workspace = true
hickory-resolver.workspace = true hickory-resolver.workspace = true
http.workspace = true http.workspace = true

View File

@@ -3,10 +3,9 @@ use std::{
time::Duration, time::Duration,
}; };
use either::Either;
use ipaddress::IPAddress; use ipaddress::IPAddress;
use reqwest::{dns::Resolve, redirect}; 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}; use crate::{service, services::OnceServices};