mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
Make JsonConfig send (#830)
* replace Rc with Arc * add Send trait requirement for Fn in JsonConfig error handler * add Sync trait requirement for Fn in JsonConfig error handler * use associated type inside JsonConfig * fix lint: members in the impl has the same order in the trait * Update CHANGES.md
This commit is contained in:
committed by
Nikolay Kim
parent
5a90e33bcc
commit
6c3d8b8738
@ -1,5 +1,9 @@
|
||||
# Changes
|
||||
|
||||
### Changes
|
||||
|
||||
* `JsonConfig` is now `Send + Sync`, this implies that `error_handler` must be `Send + Sync` too.
|
||||
|
||||
## [1.0.0-beta.4] - 2019-05-12
|
||||
|
||||
### Add
|
||||
@ -9,10 +13,8 @@
|
||||
### Changes
|
||||
|
||||
* `App::configure` take an `FnOnce` instead of `Fn`
|
||||
|
||||
* Upgrade actix-net crates
|
||||
|
||||
|
||||
## [1.0.0-beta.3] - 2019-05-04
|
||||
|
||||
### Added
|
||||
|
Reference in New Issue
Block a user