Re-export Either from tuwunel_core.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -5319,7 +5319,6 @@ dependencies = [
|
||||
"bytes",
|
||||
"const-str",
|
||||
"ctor",
|
||||
"either",
|
||||
"futures",
|
||||
"hickory-resolver",
|
||||
"http",
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user