Skip to content

Commit

Permalink
expose with_tokio_rt
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Dec 26, 2021
1 parent 9935883 commit 90689e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions actix-rt/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changes

## Unreleased - 2021-xx-xx
- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#???]

[#???]: https://github.com/actix/actix-net/pull/???


## 2.5.0 - 2021-11-22
Expand Down
1 change: 0 additions & 1 deletion actix-rt/src/arbiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<F>(runtime_factory: F) -> Arbiter
where
F: Fn() -> tokio::runtime::Runtime + Send + 'static,
Expand Down
1 change: 0 additions & 1 deletion actix-rt/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<F>(runtime_factory: F) -> SystemRunner
where
F: Fn() -> tokio::runtime::Runtime,
Expand Down

0 comments on commit 90689e3

Please sign in to comment.