diff --git a/Cargo.toml b/Cargo.toml index 6fd073553..595fc9a11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web" -version = "0.6.4" +version = "0.6.5" authors = ["Nikolay Kim "] description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust." readme = "README.md" diff --git a/README.md b/README.md index 00d9953ae..51a3ae35c 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ Actix web is a simple, pragmatic and extremely fast web framework for Rust. [DefaultHeaders](https://actix.rs/book/actix-web/sec-9-middlewares.html#default-headers), [CORS](https://actix.rs/actix-web/actix_web/middleware/cors/index.html), [CSRF](https://actix.rs/actix-web/actix_web/middleware/csrf/index.html)) -* Built on top of [Actix actor framework](https://github.com/actix/actix) * Includes an asynchronous [HTTP client](https://github.com/actix/actix-web/blob/master/src/client/mod.rs) +* Built on top of [Actix actor framework](https://github.com/actix/actix) ## Documentation & community resources diff --git a/src/lib.rs b/src/lib.rs index e050130fe..8ef1e2df8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,21 @@ //! * Middlewares (`Logger`, `Session`, `CORS`, `CSRF`, `DefaultHeaders`) //! * Built on top of [Actix actor framework](https://github.com/actix/actix) //! * Supported Rust version: 1.24 or later - +//! +//! ## Package feature +//! +//! * `tls` - enables ssl support via `native-tls` crate +//! * `alpn` - enables ssl support via `openssl` crate, require for `http/2` +//! support +//! * `session` - enables session support, includes `ring` crate as +//! dependency +//! * `brotli` - enables `brotli` compression support, requires `c` +//! compiler +//! * `flate-c` - enables `gzip`, `deflate` compression support, requires +//! `c` compiler +//! * `flate-rust` - experimental rust based implementation for +//! `gzip`, `deflate` compression. +//! #![cfg_attr(actix_nightly, feature( specialization, // for impl ErrorResponse for std::error::Error ))] @@ -169,7 +183,9 @@ pub use body::{Binary, Body}; pub use context::HttpContext; pub use error::{Error, ResponseError, Result}; pub use extractor::{Form, Path, Query}; -pub use handler::{AsyncResponder, Either, FromRequest, FutureResponse, Responder, State}; +pub use handler::{ + AsyncResponder, Either, FromRequest, FutureResponse, Responder, State, +}; pub use httpmessage::HttpMessage; pub use httprequest::HttpRequest; pub use httpresponse::HttpResponse;