diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index e42be17b..abfb6c95 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2021-xx-xx +- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430] + +[#430]: https://github.com/actix/actix-net/pull/430 ## 2.5.0 - 2021-11-22 diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 43b1bdc3..95256360 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -108,7 +108,6 @@ impl Arbiter { /// /// [tokio-runtime]: tokio::runtime::Runtime #[cfg(not(all(target_os = "linux", feature = "io-uring")))] - #[doc(hidden)] pub fn with_tokio_rt(runtime_factory: F) -> Arbiter where F: Fn() -> tokio::runtime::Runtime + Send + 'static, diff --git a/actix-rt/src/system.rs b/actix-rt/src/system.rs index 635f3c18..0ea3547d 100644 --- a/actix-rt/src/system.rs +++ b/actix-rt/src/system.rs @@ -46,7 +46,6 @@ impl System { /// Create a new System using the [Tokio Runtime](tokio-runtime) returned from a closure. /// /// [tokio-runtime]: tokio::runtime::Runtime - #[doc(hidden)] pub fn with_tokio_rt(runtime_factory: F) -> SystemRunner where F: Fn() -> tokio::runtime::Runtime,