update changelog

This commit is contained in:
Rob Ede 2022-02-01 01:58:19 +00:00
parent d9f2a881f0
commit 45fa3a54c6
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
3 changed files with 19 additions and 5 deletions

View File

@ -1,6 +1,13 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
### Added
- On-by-default `macros` feature flag to enable routing and runtime macros. [#2619]
### Removed
- `rt::{Arbiter, ArbiterHandle}` re-exports. [#2619]
[#2601]: https://github.com/actix/actix-web/pull/2601
## 4.0.0-rc.1 - 2022-01-31 ## 4.0.0-rc.1 - 2022-01-31

View File

@ -39,6 +39,7 @@ compress-zstd = ["actix-http/compress-zstd", "__compress"]
# Routing and runtime proc macros # Routing and runtime proc macros
macros = [ macros = [
"actix-rt/macros",
"actix-macros", "actix-macros",
"actix-web-codegen", "actix-web-codegen",
] ]
@ -67,9 +68,9 @@ actix-codec = "0.4.1"
actix-macros = { version = "0.2.3", optional = true } actix-macros = { version = "0.2.3", optional = true }
actix-rt = { version = "2.6", default-features = false } actix-rt = { version = "2.6", default-features = false }
actix-server = "2" actix-server = "2"
actix-service = "2.0.0" actix-service = "2"
actix-utils = "3.0.0" actix-utils = "3"
actix-tls = { version = "3.0.0", default-features = false, optional = true } actix-tls = { version = "3", default-features = false, optional = true }
actix-http = { version = "3.0.0-rc.1", features = ["http2", "ws"] } actix-http = { version = "3.0.0-rc.1", features = ["http2", "ws"] }
actix-router = "0.5.0-rc.3" actix-router = "0.5.0-rc.3"

View File

@ -26,7 +26,13 @@
//! # } //! # }
//! ``` //! ```
// In particular, omit the runtime macros because they won't work and are re-exported directly // In particular:
// at the top-level anyway. Also omit the `Arbiter` types because they have limited value here. // - Omit the `Arbiter` types because they have limited value here.
// - Re-export but hide the runtime macros because they won't work directly but are required for
// `#[actix_web::main]` and `#[actix_web::test]` to work.
pub use actix_rt::{net, pin, signal, spawn, task, time, Runtime, System, SystemRunner}; pub use actix_rt::{net, pin, signal, spawn, task, time, Runtime, System, SystemRunner};
#[cfg(feature = "macros")]
#[doc(hidden)]
pub use actix_rt::{main, test};