mirror of
https://github.com/fafhrd91/actix-net
synced 2025-03-20 12:35:18 +01:00
re-export trust-dns types
This commit is contained in:
parent
a4e0c71baa
commit
bd814d6f80
@ -17,6 +17,8 @@ pub mod ssl;
|
|||||||
#[cfg(feature = "uri")]
|
#[cfg(feature = "uri")]
|
||||||
mod uri;
|
mod uri;
|
||||||
|
|
||||||
|
pub use trust_dns_resolver::config::{ResolverConfig, ResolverOpts};
|
||||||
|
pub use trust_dns_resolver::system_conf::read_system_conf;
|
||||||
pub use trust_dns_resolver::{error::ResolveError, AsyncResolver};
|
pub use trust_dns_resolver::{error::ResolveError, AsyncResolver};
|
||||||
|
|
||||||
pub use self::connect::{Address, Connect, Connection};
|
pub use self::connect::{Address, Connect, Connection};
|
||||||
@ -26,8 +28,6 @@ pub use self::resolver::{Resolver, ResolverFactory};
|
|||||||
|
|
||||||
use actix_service::{NewService, Service, ServiceExt};
|
use actix_service::{NewService, Service, ServiceExt};
|
||||||
use tokio_tcp::TcpStream;
|
use tokio_tcp::TcpStream;
|
||||||
use trust_dns_resolver::config::{ResolverConfig, ResolverOpts};
|
|
||||||
use trust_dns_resolver::system_conf::read_system_conf;
|
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[deprecated(since = "0.1.2", note = "please use `actix_connect::TcpConnector`")]
|
#[deprecated(since = "0.1.2", note = "please use `actix_connect::TcpConnector`")]
|
||||||
|
@ -8,7 +8,7 @@ use crate::{IntoNewService, NewService, Service};
|
|||||||
|
|
||||||
/// The `Transform` trait defines the interface of a Service factory. `Transform`
|
/// The `Transform` trait defines the interface of a Service factory. `Transform`
|
||||||
/// is often implemented for middleware, defining how to manufacture a
|
/// is often implemented for middleware, defining how to manufacture a
|
||||||
/// middleware Service. A Service that is manufactured by the factory takes
|
/// middleware Service. A Service that is manufactured by the factory takes
|
||||||
/// the Service that follows it during execution as a parameter, assuming
|
/// the Service that follows it during execution as a parameter, assuming
|
||||||
/// ownership of the next Service. A Service can be a variety of types, such
|
/// ownership of the next Service. A Service can be a variety of types, such
|
||||||
/// as (but not limited to) another middleware Service, an extractor Service,
|
/// as (but not limited to) another middleware Service, an extractor Service,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user