mirror of https://github.com/fafhrd91/actix-net
update version to alpha.1
This commit is contained in:
parent
5271ba5ebd
commit
d530094920
|
@ -58,6 +58,6 @@ webpki = { version = "0.21", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
actix-testing = { version="0.2.0" }
|
actix-testing = { version="0.3.0-alpha.1" }
|
||||||
actix-server-config = "0.2.0"
|
actix-server-config = "0.3.0-alpha.1"
|
||||||
tokio = "0.2.0-alpha.6"
|
tokio = "0.2.0-alpha.6"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-ioframe"
|
name = "actix-ioframe"
|
||||||
version = "0.2.0"
|
version = "0.3.0-alpha.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix framed service"
|
description = "Actix framed service"
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
|
@ -31,7 +31,7 @@ log = "0.4"
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-rt = "1.0.0-alpha.1"
|
actix-rt = "1.0.0-alpha.1"
|
||||||
actix-connect = "1.0.0-alpha.1"
|
actix-connect = "1.0.0-alpha.1"
|
||||||
actix-testing = "0.2.0"
|
actix-testing = "0.3.0-alpha.1"
|
||||||
actix-server-config = "0.2.0"
|
actix-server-config = "0.3.0-alpha.1"
|
||||||
tokio-net = "=0.2.0-alpha.6"
|
tokio-net = "=0.2.0-alpha.6"
|
||||||
tokio-timer = "=0.3.0-alpha.6"
|
tokio-timer = "=0.3.0-alpha.6"
|
||||||
|
|
|
@ -84,9 +84,8 @@ impl Runtime {
|
||||||
/// let mut rt = Runtime::new().unwrap();
|
/// let mut rt = Runtime::new().unwrap();
|
||||||
///
|
///
|
||||||
/// // Spawn a future onto the runtime
|
/// // Spawn a future onto the runtime
|
||||||
/// rt.spawn(future::lazy(|| {
|
/// rt.spawn(future::lazy(|_| {
|
||||||
/// println!("running on the runtime");
|
/// println!("running on the runtime");
|
||||||
/// Ok(())
|
|
||||||
/// }));
|
/// }));
|
||||||
/// # }
|
/// # }
|
||||||
/// # pub fn main() {}
|
/// # pub fn main() {}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-server-config"
|
name = "actix-server-config"
|
||||||
version = "0.2.0"
|
version = "0.3.0-alpha.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix server config utils"
|
description = "Actix server config utils"
|
||||||
homepage = "https://actix.rs"
|
homepage = "https://actix.rs"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-server"
|
name = "actix-server"
|
||||||
version = "0.7.0"
|
version = "0.8.0-alpha.1"
|
||||||
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"]
|
||||||
|
@ -32,7 +32,7 @@ rustls = ["rust-tls", "tokio-rustls", "webpki", "webpki-roots", "actix-server-co
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-rt = "1.0.0-alpha.1"
|
actix-rt = "1.0.0-alpha.1"
|
||||||
actix-service = "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"
|
log = "0.4"
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
|
|
|
@ -86,7 +86,7 @@ where
|
||||||
/// Apply transform to a service. Function returns
|
/// Apply transform to a service. Function returns
|
||||||
/// services factory that in initialization creates
|
/// services factory that in initialization creates
|
||||||
/// service and applies transform to this service.
|
/// service and applies transform to this service.
|
||||||
pub fn apply<T, S, F, U>(
|
pub fn apply<T, S, U>(
|
||||||
t: T,
|
t: T,
|
||||||
service: U,
|
service: U,
|
||||||
) -> impl ServiceFactory<
|
) -> impl ServiceFactory<
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-testing"
|
name = "actix-testing"
|
||||||
version = "0.2.0"
|
version = "0.3.0-alpha.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix testing utils"
|
description = "Actix testing utils"
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
|
@ -18,8 +18,8 @@ path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-rt = "1.0.0-alpha.1"
|
actix-rt = "1.0.0-alpha.1"
|
||||||
actix-server = "0.7.0"
|
actix-server = "0.8.0-alpha.1"
|
||||||
actix-server-config = "0.2.0"
|
actix-server-config = "0.3.0-alpha.1"
|
||||||
actix-service = "1.0.0-alpha.1"
|
actix-service = "1.0.0-alpha.1"
|
||||||
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -21,12 +21,12 @@ pub use self::rt::*;
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use actix_service::{service_fn, IntoNewService};
|
/// use actix_service::{service_fn};
|
||||||
/// use actix_testing::TestServer;
|
/// use actix_testing::TestServer;
|
||||||
///
|
///
|
||||||
/// fn main() {
|
/// fn main() {
|
||||||
/// let srv = TestServer::with(|| service_fn(
|
/// let srv = TestServer::with(|| service_fn(
|
||||||
/// |sock| {
|
/// |sock| async move {
|
||||||
/// println!("New connection: {:?}", sock);
|
/// println!("New connection: {:?}", sock);
|
||||||
/// Ok::<_, ()>(())
|
/// Ok::<_, ()>(())
|
||||||
/// }
|
/// }
|
||||||
|
|
|
@ -29,4 +29,4 @@ tokio-executor = { version="=0.2.0-alpha.6", features=["current-thread"] }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-rt = "0.2.2"
|
actix-rt = "1.0.0-alpha.1"
|
||||||
|
|
|
@ -211,7 +211,6 @@ mod tests {
|
||||||
use actix_service::Service;
|
use actix_service::Service;
|
||||||
use futures::channel::oneshot;
|
use futures::channel::oneshot;
|
||||||
use futures::future::{lazy, LocalBoxFuture};
|
use futures::future::{lazy, LocalBoxFuture};
|
||||||
use futures::stream::{futures_unordered::FuturesUnordered, StreamExt};
|
|
||||||
|
|
||||||
struct Srv;
|
struct Srv;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue