1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 07:02:08 +01:00
actix-net/src/lib.rs

69 lines
1.4 KiB
Rust
Raw Normal View History

2018-08-21 21:11:16 -07:00
//! Actix net - framework for the compisible network services for Rust.
2018-08-19 10:47:04 -07:00
//!
//! ## Package feature
//!
//! * `tls` - enables ssl support via `native-tls` crate
2018-08-21 21:11:16 -07:00
//! * `ssl` - enables ssl support via `openssl` crate
2018-08-19 10:47:04 -07:00
//! * `rust-tls` - enables ssl support via `rustls` crate
// #![warn(missing_docs)]
#![cfg_attr(
feature = "cargo-clippy",
allow(
declare_interior_mutable_const,
borrow_interior_mutable_const
)
)]
2018-08-19 10:47:04 -07:00
#[macro_use]
extern crate log;
extern crate bytes;
2018-09-10 10:59:35 -07:00
#[macro_use]
2018-08-19 10:47:04 -07:00
extern crate futures;
extern crate mio;
extern crate net2;
extern crate num_cpus;
extern crate slab;
2018-08-23 20:47:41 -07:00
extern crate tokio;
2018-09-12 18:47:39 -07:00
extern crate tokio_codec;
2018-09-08 09:36:38 -07:00
extern crate tokio_current_thread;
2018-08-19 10:47:04 -07:00
extern crate tokio_io;
extern crate tokio_reactor;
extern crate tokio_tcp;
extern crate tokio_timer;
extern crate tower_service;
2018-08-23 20:47:41 -07:00
extern crate trust_dns_resolver;
2018-08-19 10:47:04 -07:00
2018-09-07 13:06:51 -07:00
#[allow(unused_imports)]
2018-09-04 12:42:06 -07:00
#[macro_use]
extern crate actix;
2018-08-19 10:47:04 -07:00
#[cfg(feature = "tls")]
extern crate native_tls;
#[cfg(feature = "ssl")]
extern crate openssl;
#[cfg(feature = "ssl")]
extern crate tokio_openssl;
#[cfg(feature = "rust-tls")]
extern crate rustls;
#[cfg(feature = "rust-tls")]
extern crate tokio_rustls;
#[cfg(feature = "rust-tls")]
extern crate webpki;
#[cfg(feature = "rust-tls")]
extern crate webpki_roots;
2018-09-17 21:46:02 -07:00
pub mod cloneable;
2018-08-29 15:15:24 -07:00
pub mod connector;
pub mod counter;
2018-09-12 18:47:39 -07:00
pub mod framed;
2018-09-14 13:30:29 -07:00
pub mod inflight;
2018-09-10 19:16:46 -07:00
pub mod resolver;
2018-09-07 23:27:00 -07:00
pub mod server;
2018-08-19 10:47:04 -07:00
pub mod service;
pub mod ssl;
2018-09-01 10:29:56 -07:00
pub mod stream;
2018-09-19 15:05:14 -07:00
pub mod lowrestimer;