Skip to content

Commit e92b5aa

Browse files
authored
expose with_tokio_rt (#430)
1 parent 459a6d1 commit e92b5aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

actix-rt/CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changes
22

33
## Unreleased - 2021-xx-xx
4+
- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430]
5+
6+
[#430]: https://github.com/actix/actix-net/pull/430
47

58

69
## 2.5.0 - 2021-11-22

actix-rt/src/arbiter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ impl Arbiter {
108108
///
109109
/// [tokio-runtime]: tokio::runtime::Runtime
110110
#[cfg(not(all(target_os = "linux", feature = "io-uring")))]
111-
#[doc(hidden)]
112111
pub fn with_tokio_rt<F>(runtime_factory: F) -> Arbiter
113112
where
114113
F: Fn() -> tokio::runtime::Runtime + Send + 'static,

actix-rt/src/system.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ impl System {
4646
/// Create a new System using the [Tokio Runtime](tokio-runtime) returned from a closure.
4747
///
4848
/// [tokio-runtime]: tokio::runtime::Runtime
49-
#[doc(hidden)]
5049
pub fn with_tokio_rt<F>(runtime_factory: F) -> SystemRunner
5150
where
5251
F: Fn() -> tokio::runtime::Runtime,

0 commit comments

Comments
 (0)