mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-30 16:34:36 +01:00
prepare release for rt and service
This commit is contained in:
parent
3d3bd60368
commit
f48e3f4cb0
@ -2,23 +2,25 @@
|
|||||||
|
|
||||||
## Unreleased - 2020-xx-xx
|
## Unreleased - 2020-xx-xx
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
|
## 2.0.0-beta.1 - 2020-12-28
|
||||||
|
### Added
|
||||||
* Add `System::attach_to_tokio` method. [#173]
|
* Add `System::attach_to_tokio` method. [#173]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Update `tokio` dependency to `1`
|
* Update `tokio` dependency to `1.0`. [#236]
|
||||||
* Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to keep inline with tokio.
|
* Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep`
|
||||||
|
to stay aligned with Tokio's naming. [#236]
|
||||||
* Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
|
* Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
|
||||||
These methods would accept &Self when calling.
|
* These methods now accept `&self` when calling. [#236]
|
||||||
Remove `'static` lifetime requirement for `System::run` and `Builder::run`.
|
* Remove `'static` lifetime requirement for `System::run` and `Builder::run`. [#236]
|
||||||
`Arbiter::spawn` would panic when `System` is not in scope. [#207]
|
* `Arbiter::spawn` now panics when `System` is not in scope. [#207]
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
* Fix work load issue by removing `PENDING` thread local. [#207]
|
||||||
* Fix work load issue by removing `PENDDING` thread local. [#207]
|
|
||||||
|
|
||||||
[#207]: https://github.com/actix/actix-net/pull/207
|
[#207]: https://github.com/actix/actix-net/pull/207
|
||||||
|
[#236]: https://github.com/actix/actix-net/pull/236
|
||||||
|
|
||||||
## [1.1.1] - 2020-04-30
|
## [1.1.1] - 2020-04-30
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-rt"
|
name = "actix-rt"
|
||||||
version = "1.1.1"
|
version = "2.0.0-beta.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix runtime"
|
description = "Tokio-based single-thread async runtime for the Actix ecosystem"
|
||||||
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"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//! A runtime implementation that runs everything on the current thread.
|
//! Tokio-based single-thread async runtime for the Actix ecosystem.
|
||||||
|
|
||||||
#![deny(rust_2018_idioms, nonstandard_style)]
|
#![deny(rust_2018_idioms, nonstandard_style)]
|
||||||
#![allow(clippy::type_complexity)]
|
#![allow(clippy::type_complexity)]
|
||||||
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
|
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2020-xx-xx
|
## Unreleased - 2020-xx-xx
|
||||||
|
|
||||||
|
|
||||||
|
## 2.0.0-beta.1 - 2020-12-28
|
||||||
* `Service`, other traits, and many type signatures now take the the request type as a type
|
* `Service`, other traits, and many type signatures now take the the request type as a type
|
||||||
parameter instead of an associated type. [#232]
|
parameter instead of an associated type. [#232]
|
||||||
* Add `always_ready!` and `forward_ready!` macros. [#233]
|
* Add `always_ready!` and `forward_ready!` macros. [#233]
|
||||||
@ -19,7 +22,10 @@
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
* Removed unsound custom Cell implementation that allowed obtaining several mutable references to the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through service combinators. Attempts to acquire several mutable references to the same data will instead result in a panic.
|
* Removed unsound custom Cell implementation that allowed obtaining several mutable references to
|
||||||
|
the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through
|
||||||
|
service combinators. Attempts to acquire several mutable references to the same data will instead
|
||||||
|
result in a panic.
|
||||||
|
|
||||||
## [1.0.5] - 2020-01-16
|
## [1.0.5] - 2020-01-16
|
||||||
|
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-service"
|
name = "actix-service"
|
||||||
version = "1.0.6"
|
version = "2.0.0-beta.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = [
|
||||||
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
||||||
|
"Rob Ede <robjtede@icloud.com>",
|
||||||
|
]
|
||||||
description = "Service trait and combinators for representing asynchronous request/response operations."
|
description = "Service trait and combinators for representing asynchronous request/response operations."
|
||||||
keywords = ["network", "framework", "async", "futures", "service"]
|
keywords = ["network", "framework", "async", "futures", "service"]
|
||||||
homepage = "https://actix.rs"
|
homepage = "https://actix.rs"
|
||||||
|
Loading…
Reference in New Issue
Block a user