1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 18:02:58 +01:00

prepare actix-server release

This commit is contained in:
Nikolay Kim 2019-03-02 14:42:31 -08:00
parent 672c3936a6
commit 2e4c84dbb6
4 changed files with 13 additions and 12 deletions

View File

@ -1,15 +1,22 @@
# Changes # Changes
## [0.3.0] - 2019-03-02
### Changed
* Use new `NewService` trait
## [0.2.1] - 2019-02-09 ## [0.2.1] - 2019-02-09
### Changes ### Changed
* Drop service response * Drop service response
## [0.2.0] - 2019-02-01 ## [0.2.0] - 2019-02-01
### Changes ### Changed
* Migrate to actix-service 0.2 * Migrate to actix-service 0.2

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-server" name = "actix-server"
version = "0.2.1" version = "0.3.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix server - General purpose tcp server" description = "Actix server - General purpose tcp server"
keywords = ["network", "framework", "async", "futures"] keywords = ["network", "framework", "async", "futures"]
@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
edition = "2018" edition = "2018"
workspace = "../" workspace = ".."
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = ["ssl", "tls", "rust-tls"] features = ["ssl", "tls", "rust-tls"]
@ -33,17 +33,14 @@ ssl = ["openssl", "tokio-openssl"]
rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"] rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"]
[dependencies] [dependencies]
#actix-service = "0.2.1" actix-service = "0.3.0"
actix-service = { path="../actix-service" }
actix-rt = "0.1.0" actix-rt = "0.1.0"
log = "0.4" log = "0.4"
num_cpus = "1.0" num_cpus = "1.0"
# io
mio = "^0.6.13" mio = "^0.6.13"
net2 = "0.2" net2 = "0.2"
bytes = "0.4"
futures = "0.1" futures = "0.1"
slab = "0.4" slab = "0.4"
tokio-io = "0.1" tokio-io = "0.1"

View File

@ -183,9 +183,6 @@ impl ServerBuilder {
/// This methods panics if no socket addresses get bound. /// This methods panics if no socket addresses get bound.
/// ///
/// ```rust,ignore /// ```rust,ignore
/// # extern crate futures;
/// # extern crate actix_web;
/// # use futures::Future;
/// use actix_web::*; /// use actix_web::*;
/// ///
/// fn main() { /// fn main() {

View File

@ -28,6 +28,6 @@ impl Token {
} }
/// Start server building process /// Start server building process
pub fn build() -> ServerBuilder { pub fn new() -> ServerBuilder {
ServerBuilder::default() ServerBuilder::default()
} }