update version to alpha.1

This commit is contained in:
Nikolay Kim 2019-11-14 15:07:04 +06:00
parent 5271ba5ebd
commit d530094920
10 changed files with 16 additions and 18 deletions

View File

@ -58,6 +58,6 @@ webpki = { version = "0.21", optional = true }
[dev-dependencies]
bytes = "0.4"
actix-testing = { version="0.2.0" }
actix-server-config = "0.2.0"
actix-testing = { version="0.3.0-alpha.1" }
actix-server-config = "0.3.0-alpha.1"
tokio = "0.2.0-alpha.6"

View File

@ -1,6 +1,6 @@
[package]
name = "actix-ioframe"
version = "0.2.0"
version = "0.3.0-alpha.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix framed service"
keywords = ["network", "framework", "async", "futures"]
@ -31,7 +31,7 @@ log = "0.4"
[dev-dependencies]
actix-rt = "1.0.0-alpha.1"
actix-connect = "1.0.0-alpha.1"
actix-testing = "0.2.0"
actix-server-config = "0.2.0"
actix-testing = "0.3.0-alpha.1"
actix-server-config = "0.3.0-alpha.1"
tokio-net = "=0.2.0-alpha.6"
tokio-timer = "=0.3.0-alpha.6"

View File

@ -84,9 +84,8 @@ impl Runtime {
/// let mut rt = Runtime::new().unwrap();
///
/// // Spawn a future onto the runtime
/// rt.spawn(future::lazy(|| {
/// rt.spawn(future::lazy(|_| {
/// println!("running on the runtime");
/// Ok(())
/// }));
/// # }
/// # pub fn main() {}

View File

@ -1,6 +1,6 @@
[package]
name = "actix-server-config"
version = "0.2.0"
version = "0.3.0-alpha.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix server config utils"
homepage = "https://actix.rs"

View File

@ -1,6 +1,6 @@
[package]
name = "actix-server"
version = "0.7.0"
version = "0.8.0-alpha.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix server - General purpose tcp server"
keywords = ["network", "framework", "async", "futures"]
@ -32,7 +32,7 @@ rustls = ["rust-tls", "tokio-rustls", "webpki", "webpki-roots", "actix-server-co
[dependencies]
actix-rt = "1.0.0-alpha.1"
actix-service = "1.0.0-alpha.1"
actix-server-config = "0.2.0"
actix-server-config = "0.3.0-alpha.1"
log = "0.4"
num_cpus = "1.0"

View File

@ -86,7 +86,7 @@ where
/// Apply transform to a service. Function returns
/// services factory that in initialization creates
/// service and applies transform to this service.
pub fn apply<T, S, F, U>(
pub fn apply<T, S, U>(
t: T,
service: U,
) -> impl ServiceFactory<

View File

@ -1,6 +1,6 @@
[package]
name = "actix-testing"
version = "0.2.0"
version = "0.3.0-alpha.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix testing utils"
keywords = ["network", "framework", "async", "futures"]
@ -18,8 +18,8 @@ path = "src/lib.rs"
[dependencies]
actix-rt = "1.0.0-alpha.1"
actix-server = "0.7.0"
actix-server-config = "0.2.0"
actix-server = "0.8.0-alpha.1"
actix-server-config = "0.3.0-alpha.1"
actix-service = "1.0.0-alpha.1"
log = "0.4"

View File

@ -21,12 +21,12 @@ pub use self::rt::*;
/// # Examples
///
/// ```rust
/// use actix_service::{service_fn, IntoNewService};
/// use actix_service::{service_fn};
/// use actix_testing::TestServer;
///
/// fn main() {
/// let srv = TestServer::with(|| service_fn(
/// |sock| {
/// |sock| async move {
/// println!("New connection: {:?}", sock);
/// Ok::<_, ()>(())
/// }

View File

@ -29,4 +29,4 @@ tokio-executor = { version="=0.2.0-alpha.6", features=["current-thread"] }
log = "0.4"
[dev-dependencies]
actix-rt = "0.2.2"
actix-rt = "1.0.0-alpha.1"

View File

@ -211,7 +211,6 @@ mod tests {
use actix_service::Service;
use futures::channel::oneshot;
use futures::future::{lazy, LocalBoxFuture};
use futures::stream::{futures_unordered::FuturesUnordered, StreamExt};
struct Srv;