mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-15 22:43:52 +02:00
Compare commits
2 Commits
connector-
...
server-0.1
Author | SHA1 | Date | |
---|---|---|---|
|
fd3e77ea83 | ||
|
d38eb00793 |
@@ -1,5 +1,10 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [0.1.1] - 2018-12-11
|
||||||
|
|
||||||
|
* Fix signal handling on windows
|
||||||
|
|
||||||
|
|
||||||
## [0.1.0] - 2018-12-09
|
## [0.1.0] - 2018-12-09
|
||||||
|
|
||||||
* Move server to separate crate
|
* Move server to separate crate
|
||||||
|
@@ -1,9 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-server"
|
name = "actix-server"
|
||||||
version = "0.1.0"
|
version = "0.1.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"
|
||||||
readme = "README.md"
|
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
homepage = "https://actix.rs"
|
homepage = "https://actix.rs"
|
||||||
repository = "https://github.com/actix/actix-net.git"
|
repository = "https://github.com/actix/actix-net.git"
|
||||||
|
@@ -34,10 +34,12 @@ impl Signals {
|
|||||||
let fut = {
|
let fut = {
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
{
|
{
|
||||||
tokio_signal::ctrl_c().and_then(move |stream| Signals {
|
tokio_signal::ctrl_c()
|
||||||
srv,
|
.map_err(|_| ())
|
||||||
stream: Box::new(stream.map(|_| Signal::Int)),
|
.and_then(move |stream| Signals {
|
||||||
})
|
srv,
|
||||||
|
stream: Box::new(stream.map(|_| Signal::Int)),
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
@@ -3,7 +3,6 @@ name = "actix-utils"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix utils - various actix net related services"
|
description = "Actix utils - various actix net related services"
|
||||||
readme = "README.md"
|
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
homepage = "https://actix.rs"
|
homepage = "https://actix.rs"
|
||||||
repository = "https://github.com/actix/actix-net.git"
|
repository = "https://github.com/actix/actix-net.git"
|
||||||
|
Reference in New Issue
Block a user