diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index 0560ad31..0b9ea4c1 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -8,7 +8,9 @@ ### Changed -* Deprecate `Arbiter::is_running`and `Arbiter::local_join`. `Arbiter::spawn` would panic when `System` is not in scope. [#207] +* Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`. These functions would +accept a `&Self` when calling. Remove `'static` lifetime requirement for `System::run`. Deprecate `Arbiter::is_running` +and `Arbiter::local_join`. `Arbiter::spawn` would panic when `System` is not in scope. [#207] ### Fixed diff --git a/actix-rt/src/lib.rs b/actix-rt/src/lib.rs index 12ad478d..9627eee6 100644 --- a/actix-rt/src/lib.rs +++ b/actix-rt/src/lib.rs @@ -1,6 +1,5 @@ //! A runtime implementation that runs everything on the current thread. -#![deny(rust_2018_idioms, warnings)] -#![allow(clippy::type_complexity)] +#![forbid(unsafe_code)] use std::future::Future;