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",
|
"bytes",
|
||||||
"const-str",
|
"const-str",
|
||||||
"ctor",
|
"ctor",
|
||||||
"either",
|
|
||||||
"futures",
|
"futures",
|
||||||
"hickory-resolver",
|
"hickory-resolver",
|
||||||
"http",
|
"http",
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user