diff --git a/.cargo/config.toml b/.cargo/config.toml
index 8f1ff8a7..33cf3dc1 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -2,8 +2,6 @@
lint = "clippy --workspace --tests --examples --bins -- -Dclippy::todo"
lint-all = "clippy --workspace --all-features --tests --examples --bins -- -Dclippy::todo"
-ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture"
-
# just check the library (without dev deps)
ci-check-min = "hack --workspace check --no-default-features"
ci-check-lib = "hack --workspace --feature-powerset --depth=2 --exclude-features=io-uring check"
@@ -15,11 +13,9 @@ ci-check-linux = "hack --workspace --feature-powerset --depth=2 check --tests --
# tests avoiding io-uring feature
ci-test = "hack --feature-powerset --depth=2 --exclude-features=io-uring test --lib --tests --no-fail-fast -- --nocapture"
-ci-test-rustls-020 = "hack --feature-powerset --depth=2 --exclude-features=io-uring,rustls-0_21 test --lib --tests --no-fail-fast -- --nocapture"
-ci-test-rustls-021 = "hack --feature-powerset --depth=2 --exclude-features=io-uring,rustls-0_20 test --lib --tests --no-fail-fast -- --nocapture"
-
-# tests avoiding io-uring feature on Windows
-ci-test-win = "hack --feature-powerset --depth=2 --exclude-features=io-uring test --lib --tests --no-fail-fast -- --nocapture"
+ci-test-rustls-020 = "hack --feature-powerset --depth=2 --exclude-features=io-uring,rustls-0_21,rustls-0_22 test --lib --tests --no-fail-fast -- --nocapture"
+ci-test-rustls-021 = "hack --feature-powerset --depth=2 --exclude-features=io-uring,rustls-0_20,rustls-0_22 test --lib --tests --no-fail-fast -- --nocapture"
+ci-test-rustls-022 = "hack --feature-powerset --depth=2 --exclude-features=io-uring,rustls-0_20,rustls-0_21 test --lib --tests --no-fail-fast -- --nocapture"
# test with io-uring feature
-ci-test-linux = "hack --feature-powerset --depth=2 --exclude-features=rustls-0_20 test --lib --tests --no-fail-fast -- --nocapture"
+ci-test-linux = "hack --feature-powerset --depth=2 --exclude-features=rustls-0_20,rustls-0_21 test --lib --tests --no-fail-fast -- --nocapture"
diff --git a/.github/workflows/ci-post-merge.yml b/.github/workflows/ci-post-merge.yml
index 357690bb..27de0429 100644
--- a/.github/workflows/ci-post-merge.yml
+++ b/.github/workflows/ci-post-merge.yml
@@ -22,7 +22,6 @@ jobs:
- { name: macOS, os: macos-latest, triple: x86_64-apple-darwin }
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc }
- { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu }
- - { name: Windows (32-bit), os: windows-latest, triple: i686-pc-windows-msvc }
version:
- nightly
@@ -44,22 +43,22 @@ jobs:
- name: Install OpenSSL
if: matrix.target.os == 'windows-latest'
- run: choco install openssl -y --forcex64 --no-progress
- - name: Set OpenSSL dir in env
- if: matrix.target.os == 'windows-latest'
+ shell: bash
run: |
- echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
- echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' | Out-File -FilePath $env:GITHUB_ENV -Append
+ set -e
+ choco install openssl --version=1.1.1.2100 -y --no-progress
+ echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' >> $GITHUB_ENV
+ echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
- name: Install Rust (${{ matrix.version }})
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
with:
toolchain: ${{ matrix.version }}
- - name: Install cargo-hack and cargo-ci-cache-clean
- uses: taiki-e/install-action@v2.25.2
+ - name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
+ uses: taiki-e/install-action@v2.33.17
with:
- tool: cargo-hack,cargo-ci-cache-clean
+ tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
- name: check lib
if: >
@@ -84,10 +83,8 @@ jobs:
run: cargo ci-check-linux
- name: tests
- if: >
- matrix.target.os != 'ubuntu-latest'
- && matrix.target.triple != 'x86_64-pc-windows-gnu'
- run: cargo ci-test
+ if: matrix.target.os != 'ubuntu-latest'
+ run: just test
- name: tests
if: matrix.target.os == 'ubuntu-latest'
run: >-
@@ -115,7 +112,7 @@ jobs:
toolchain: nightly
- name: Install cargo-hack & cargo-minimal-versions
- uses: taiki-e/install-action@v2.25.2
+ uses: taiki-e/install-action@v2.33.17
with:
tool: cargo-hack,cargo-minimal-versions
@@ -132,7 +129,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
- name: Install cargo-nextest
- uses: taiki-e/install-action@v2.25.2
+ uses: taiki-e/install-action@v2.33.17
with:
tool: cargo-nextest
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a3b47270..32893ee7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,9 +23,8 @@ jobs:
- { name: macOS, os: macos-latest, triple: x86_64-apple-darwin }
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc }
- { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu }
- - { name: Windows (32-bit), os: windows-latest, triple: i686-pc-windows-msvc }
version:
- - { name: msrv, version: 1.65.0 }
+ - { name: msrv, version: 1.70.0 }
- { name: stable, version: stable }
name: ${{ matrix.target.name }} / ${{ matrix.version.name }}
@@ -46,33 +45,29 @@ jobs:
- name: Install OpenSSL
if: matrix.target.os == 'windows-latest'
- run: choco install openssl -y --forcex64 --no-progress
- - name: Set OpenSSL dir in env
- if: matrix.target.os == 'windows-latest'
+ shell: bash
run: |
- echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
- echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' | Out-File -FilePath $env:GITHUB_ENV -Append
+ set -e
+ choco install openssl --version=1.1.1.2100 -y --no-progress
+ echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' >> $GITHUB_ENV
+ echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
- name: Install Rust (${{ matrix.version.name }})
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
with:
toolchain: ${{ matrix.version.version }}
- - name: Install cargo-hack and cargo-ci-cache-clean
- uses: taiki-e/install-action@v2.25.2
+ - name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
+ uses: taiki-e/install-action@v2.33.17
with:
- tool: cargo-hack,cargo-ci-cache-clean
+ tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
- name: Generate Cargo.lock
run: cargo generate-lockfile
- name: workaround MSRV issues
if: matrix.version.name == 'msrv'
- run: |
- cargo update -p=time --precise=0.3.16
- cargo update -p=clap --precise=4.3.24
- cargo update -p=clap_lex --precise=0.5.0
- cargo update -p=anstyle --precise=1.0.2
+ run: just downgrade-for-msrv
- name: check lib
if: >
@@ -83,7 +78,7 @@ jobs:
if: matrix.target.os == 'ubuntu-latest'
run: cargo ci-check-lib-linux
- name: check lib
- if: matrix.target.triple == 'x86_64-pc-windows-gnu'
+ if: matrix.target.triple != 'x86_64-pc-windows-gnu'
run: cargo ci-check-min
- name: check full
@@ -97,30 +92,15 @@ jobs:
run: cargo ci-check-linux
- name: tests
- if: matrix.target.os == 'macos-latest'
- run: cargo ci-test
- - name: tests
- if: >
- matrix.target.os == 'windows-latest'
- && matrix.target.triple != 'x86_64-pc-windows-gnu'
- run: cargo ci-test-win
- - name: tests
- if: matrix.target.os == 'ubuntu-latest'
- run: >-
- sudo bash -c "
- ulimit -Sl 512
- && ulimit -Hl 512
- && PATH=$PATH:/usr/share/rust/.cargo/bin
- && RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-rustls-020
- && RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-rustls-021
- && RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-linux
- "
+ run: just test
+
+ # TODO: re-instate some io-uring tests for PRs
- name: CI cache clean
run: cargo-ci-cache-clean
- rustdoc:
- name: rustdoc
+ docs:
+ name: Documentation
runs-on: ubuntu-latest
steps:
@@ -131,6 +111,10 @@ jobs:
with:
toolchain: nightly
- - name: doc tests io-uring
- run: |
- sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=nightly cargo ci-doctest"
+ - name: Install just
+ uses: taiki-e/install-action@v2.33.17
+ with:
+ tool: just
+
+ - name: doc tests
+ run: just test-docs
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 28516225..a9074a51 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -23,7 +23,7 @@ jobs:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
- uses: taiki-e/install-action@v2.25.2
+ uses: taiki-e/install-action@v2.33.17
with:
tool: cargo-llvm-cov
@@ -31,7 +31,9 @@ jobs:
run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v3.1.4
+ uses: codecov/codecov-action@v4.3.1
with:
files: codecov.json
fail_ci_if_error: true
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e0495b98..b6f88db5 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -55,12 +55,12 @@ jobs:
toolchain: nightly-2023-10-10
- name: Install just
- uses: taiki-e/install-action@v2.25.2
+ uses: taiki-e/install-action@v2.33.17
with:
tool: just
- name: Install cargo-check-external-types
- uses: taiki-e/cache-cargo-install-action@v1.3.0
+ uses: taiki-e/cache-cargo-install-action@v2.0.0
with:
tool: cargo-check-external-types@0.1.10
diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml
index 62be1753..2d70e7ff 100644
--- a/.github/workflows/upload-doc.yml
+++ b/.github/workflows/upload-doc.yml
@@ -30,7 +30,7 @@ jobs:
run: echo '' > target/doc/index.html
- name: Deploy to GitHub Pages
- uses: JamesIves/github-pages-deploy-action@v4.5.0
+ uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
folder: target/doc
single-commit: true
diff --git a/Cargo.toml b/Cargo.toml
index 696de4a5..c130eaf9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,5 @@
[workspace]
+resolver = "2"
members = [
"actix-codec",
"actix-macros",
@@ -12,12 +13,11 @@ members = [
"local-channel",
"local-waker",
]
-resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
-rust-version = "1.65"
+rust-version = "1.70"
[patch.crates-io]
actix-codec = { path = "actix-codec" }
diff --git a/actix-codec/CHANGES.md b/actix-codec/CHANGES.md
index ec54e407..fa2bfddd 100644
--- a/actix-codec/CHANGES.md
+++ b/actix-codec/CHANGES.md
@@ -2,20 +2,20 @@
## Unreleased
+- Minimum supported Rust version (MSRV) is now 1.70.
+
+## 0.5.2
+
- Minimum supported Rust version (MSRV) is now 1.65.
## 0.5.1
-- Logs emitted now use the `tracing` crate with `log` compatibility. [#451]
+- Logs emitted now use the `tracing` crate with `log` compatibility.
- Minimum supported Rust version (MSRV) is now 1.49.
-[#451]: https://github.com/actix/actix-net/pull/451
-
## 0.5.0
-- Updated `tokio-util` dependency to `0.7.0`. [#446]
-
-[#446]: https://github.com/actix/actix-net/pull/446
+- Updated `tokio-util` dependency to `0.7.0`.
## 0.4.2
@@ -23,11 +23,8 @@
## 0.4.1
-- Added `LinesCodec.` [#338]
-- `Framed::poll_ready` flushes when the buffer is full. [#409]
-
-[#338]: https://github.com/actix/actix-net/pull/338
-[#409]: https://github.com/actix/actix-net/pull/409
+- Added `LinesCodec`.
+- `Framed::poll_ready` flushes when the buffer is full.
## 0.4.0
@@ -35,12 +32,10 @@
## 0.4.0-beta.1
-- Replace `pin-project` with `pin-project-lite`. [#237]
-- Upgrade `tokio` dependency to `1`. [#237]
-- Upgrade `tokio-util` dependency to `0.6`. [#237]
-- Upgrade `bytes` dependency to `1`. [#237]
-
-[#237]: https://github.com/actix/actix-net/pull/237
+- Replace `pin-project` with `pin-project-lite`.
+- Upgrade `tokio` dependency to `1`.
+- Upgrade `tokio-util` dependency to `0.6`.
+- Upgrade `bytes` dependency to `1`.
## 0.3.0
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml
index 91fefc7c..d71c7c25 100644
--- a/actix-codec/Cargo.toml
+++ b/actix-codec/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "actix-codec"
-version = "0.5.1"
+version = "0.5.2"
authors = [
"Nikolay Kim ",
"Rob Ede ",
diff --git a/actix-macros/CHANGES.md b/actix-macros/CHANGES.md
index 570c4e1e..99ecfa97 100644
--- a/actix-macros/CHANGES.md
+++ b/actix-macros/CHANGES.md
@@ -2,6 +2,8 @@
## Unreleased
+- Minimum supported Rust version (MSRV) is now 1.70.
+
## 0.2.4
- Update `syn` dependency to `2`.
diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml
index b96daeb9..2f112ed4 100644
--- a/actix-macros/Cargo.toml
+++ b/actix-macros/Cargo.toml
@@ -31,7 +31,6 @@ proc-macro2 = "1.0.60"
[dev-dependencies]
actix-rt = "2"
-
futures-util = { version = "0.3.17", default-features = false }
-rustversion = "1"
+rustversion-msrv = "0.99"
trybuild = "1"
diff --git a/actix-macros/tests/trybuild.rs b/actix-macros/tests/trybuild.rs
index b37b84ba..5cfb1b6e 100644
--- a/actix-macros/tests/trybuild.rs
+++ b/actix-macros/tests/trybuild.rs
@@ -1,4 +1,4 @@
-#[rustversion::stable(1.65)] // MSRV
+#[rustversion_msrv::msrv]
#[test]
fn compile_macros() {
let t = trybuild::TestCases::new();
diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md
index dc2d0fc3..1535612b 100644
--- a/actix-rt/CHANGES.md
+++ b/actix-rt/CHANGES.md
@@ -2,6 +2,8 @@
## Unreleased
+- Minimum supported Rust version (MSRV) is now 1.70.
+
## 2.9.0
- Add `actix_rt::System::runtime()` method to retrieve the underlying `actix_rt::Runtime` runtime.
@@ -10,150 +12,105 @@
## 2.8.0
-- Add `#[track_caller]` attribute to `spawn` functions and methods. [#454]
-- Update `tokio-uring` dependency to `0.4`. [#473]
+- Add `#[track_caller]` attribute to `spawn` functions and methods.
+- Update `tokio-uring` dependency to `0.4`.
- Minimum supported Rust version (MSRV) is now 1.59.
-[#454]: https://github.com/actix/actix-net/pull/454
-[#473]: https://github.com/actix/actix-net/pull/473
-
## 2.7.0
-- Update `tokio-uring` dependency to `0.3`. [#448]
+- Update `tokio-uring` dependency to `0.3`.
- Minimum supported Rust version (MSRV) is now 1.49.
-[#448]: https://github.com/actix/actix-net/pull/448
-
## 2.6.0
-- Update `tokio-uring` dependency to `0.2`. [#436]
-
-[#436]: https://github.com/actix/actix-net/pull/436
+- Update `tokio-uring` dependency to `0.2`.
## 2.5.1
-- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430]
-
-[#430]: https://github.com/actix/actix-net/pull/430
+- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`.
## 2.5.0
-- Add `System::run_with_code` to allow retrieving the exit code on stop. [#411]
-
-[#411]: https://github.com/actix/actix-net/pull/411
+- Add `System::run_with_code` to allow retrieving the exit code on stop.
## 2.4.0
-- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. [#408]
-- Start io-uring with `System::new` when feature is enabled. [#395]
-
-[#395]: https://github.com/actix/actix-net/pull/395
-[#408]: https://github.com/actix/actix-net/pull/408
+- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context.
+- Start io-uring with `System::new` when feature is enabled.
## 2.3.0
-- The `spawn` method can now resolve with non-unit outputs. [#369]
-- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. [#374]
-
-[#369]: https://github.com/actix/actix-net/pull/369
-[#374]: https://github.com/actix/actix-net/pull/374
+- The `spawn` method can now resolve with non-unit outputs.
+- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux.
## 2.2.0
-- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. [#293]
+- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant.
- Breakage is acceptable since `ActixStream` was not intended to be public.
-[#293]: https://github.com/actix/actix-net/pull/293
-
## 2.1.0
-- Add `ActixStream` extension trait to include readiness methods. [#276]
-- Re-export `tokio::net::TcpSocket` in `net` module [#282]
-
-[#276]: https://github.com/actix/actix-net/pull/276
-[#282]: https://github.com/actix/actix-net/pull/282
+- Add `ActixStream` extension trait to include readiness methods.
+- Re-export `tokio::net::TcpSocket` in `net` module
## 2.0.2
-- Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274]
-- Add `System::try_current` for situations where actix may or may not be running a System. [#275]
-
-[#274]: https://github.com/actix/actix-net/pull/274
-[#275]: https://github.com/actix/actix-net/pull/275
+- Add `Arbiter::handle` to get a handle of an owned Arbiter.
+- Add `System::try_current` for situations where actix may or may not be running a System.
## 2.0.1
-- Expose `JoinError` from Tokio. [#271]
-
-[#271]: https://github.com/actix/actix-net/pull/271
+- Expose `JoinError` from Tokio.
## 2.0.0
-- Remove all Arbiter-local storage methods. [#262]
-- Re-export `tokio::pin`. [#262]
-
-[#262]: https://github.com/actix/actix-net/pull/262
+- Remove all Arbiter-local storage methods.
+- Re-export `tokio::pin`.
## 2.0.0-beta.3
-- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253]
-- Return `JoinHandle` from `actix_rt::spawn`. [#253]
-- Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`. [#253]
-- Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`. [#253]
-- Remove `Arbiter::exec`. [#253]
-- Remove deprecated `Arbiter::local_join` and `Arbiter::is_running`. [#253]
-- `Arbiter::spawn` now accepts !Unpin futures. [#256]
-- `System::new` no longer takes arguments. [#257]
-- Remove `System::with_current`. [#257]
-- Remove `Builder`. [#257]
-- Add `System::with_init` as replacement for `Builder::run`. [#257]
-- Rename `System::{is_set => is_registered}`. [#257]
-- Add `ArbiterHandle` for sending messages to non-current-thread arbiters. [#257].
-- `System::arbiter` now returns an `&ArbiterHandle`. [#257]
-- `Arbiter::current` now returns an `ArbiterHandle` instead. [#257]
-- `Arbiter::join` now takes self by value. [#257]
-
-[#253]: https://github.com/actix/actix-net/pull/253
-[#254]: https://github.com/actix/actix-net/pull/254
-[#256]: https://github.com/actix/actix-net/pull/256
-[#257]: https://github.com/actix/actix-net/pull/257
+- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`.
+- Return `JoinHandle` from `actix_rt::spawn`.
+- Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`.
+- Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`.
+- Remove `Arbiter::exec`.
+- Remove deprecated `Arbiter::local_join` and `Arbiter::is_running`.
+- `Arbiter::spawn` now accepts !Unpin futures.
+- `System::new` no longer takes arguments.
+- Remove `System::with_current`.
+- Remove `Builder`.
+- Add `System::with_init` as replacement for `Builder::run`.
+- Rename `System::{is_set => is_registered}`.
+- Add `ArbiterHandle` for sending messages to non-current-thread arbiters.
+- `System::arbiter` now returns an `&ArbiterHandle`.
+- `Arbiter::current` now returns an `ArbiterHandle` instead.
+- `Arbiter::join` now takes self by value.
## 2.0.0-beta.2
-- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245]
+- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}`
- Add default "macros" feature to allow faster compile times when using `default-features=false`.
-[#245]: https://github.com/actix/actix-net/pull/245
-
## 2.0.0-beta.1
-- Add `System::attach_to_tokio` method. [#173]
-- Update `tokio` dependency to `1.0`. [#236]
-- Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to stay aligned with Tokio's naming. [#236]
+- Add `System::attach_to_tokio` method.
+- Update `tokio` dependency to `1.0`.
+- Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to stay aligned with Tokio's naming.
- Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
- - These methods now accept `&self` when calling. [#236]
-- Remove `'static` lifetime requirement for `System::run` and `Builder::run`. [#236]
-- `Arbiter::spawn` now panics when `System` is not in scope. [#207]
-- Fix work load issue by removing `PENDING` thread local. [#207]
-
-[#207]: https://github.com/actix/actix-net/pull/207
-[#236]: https://github.com/actix/actix-net/pull/236
+ - These methods now accept `&self` when calling.
+- Remove `'static` lifetime requirement for `System::run` and `Builder::run`.
+- `Arbiter::spawn` now panics when `System` is not in scope.
+- Fix work load issue by removing `PENDING` thread local.
## 1.1.1
-- Fix memory leak due to [#94] (see [#129] for more detail)
-
-[#129]: https://github.com/actix/actix-net/issues/129
+- Fix memory leak due to
## 1.1.0 _(YANKED)_
-- Expose `System::is_set` to check if current system has ben started [#99]
-- Add `Arbiter::is_running` to check if event loop is running [#124]
-- Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures [#94]
-
-[#94]: https://github.com/actix/actix-net/pull/94
-[#99]: https://github.com/actix/actix-net/pull/99
-[#124]: https://github.com/actix/actix-net/pull/124
+- Expose `System::is_set` to check if current system has ben started
+- Add `Arbiter::is_running` to check if event loop is running
+- Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures
## 1.0.0
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs
index 48cc752f..ee647aef 100644
--- a/actix-rt/src/arbiter.rs
+++ b/actix-rt/src/arbiter.rs
@@ -16,7 +16,7 @@ use crate::system::{System, SystemCommand};
pub(crate) static COUNT: AtomicUsize = AtomicUsize::new(0);
thread_local!(
- static HANDLE: RefCell