1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 00:43:00 +01:00
Commit Graph

4044 Commits

Author SHA1 Message Date
fakeshadow
a03dbe2dcf
replace cloneable service with httpflow abstraction (#1876) 2021-01-06 18:43:52 +00:00
fakeshadow
57a3722146
More refactor of app_service (#1879) 2021-01-06 18:11:20 +00:00
fakeshadow
57da1d3c0f
refactor app_service (#1877) 2021-01-06 11:35:30 +00:00
Rob Ede
68117543ea
major cleanup of middleware module (#1875)
* major cleanup of middleware module

* update changelog
2021-01-05 09:51:58 +00:00
fakeshadow
4f5971d79e
add Compat middleware (#1865) 2021-01-05 00:22:57 +00:00
fakeshadow
93161df141
clean up body type (#1872) 2021-01-04 23:47:38 +00:00
fakeshadow
e567873326
optimize message pool release (#1871) 2021-01-04 13:03:46 +00:00
Rob Ede
7d632d0b7b
use ByteString as container for websocket text message (#1864) 2021-01-04 11:27:32 +00:00
Rob Ede
36aee18c64
fmt 2021-01-04 04:33:15 +00:00
Rob Ede
007a145988
use ahash for internal hashmaps 2021-01-04 04:29:07 +00:00
Rob Ede
2d4a174420
fmt 2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5
improve code readability 2021-01-04 00:49:02 +00:00
fakeshadow
e1683313ec
optimize ServiceRequest methods (#1870)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-04 00:32:41 +00:00
fakeshadow
32de9f8840
Tokio 1.0 (#1813)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Rob Ede
1f202d40e4
optimize write_camel_case in h1 encoder (#1868) 2021-01-03 16:53:01 +00:00
fakeshadow
ad608aa64e
optimize Resource and Scope service call (#1867) 2021-01-02 19:40:31 +00:00
Rob Ede
a1b00b2cd0
change unreleased year 2021-01-02 00:12:18 +00:00
fakeshadow
3beb4cf2da
replace tinyvec with smallvec (#1866) 2021-01-01 23:18:25 +00:00
Rob Ede
522c9a5ea6
update CoC text 2020-12-31 03:24:18 +00:00
Rob Ede
102bb8f9ab
update dot dep graphs 2020-12-29 00:22:28 +00:00
Ibraheem Ahmed
20b46cdaf9
format factory_tuple macro invocations (#1859) 2020-12-28 21:04:02 +00:00
Rob Ede
2a2a20c3e7
bump msrv to 1.46 (#1858) 2020-12-28 00:44:15 +00:00
Rob Ede
093d3a6c59
remove deprecated on_connect methods (#1857) 2020-12-27 23:23:30 +00:00
Rob Ede
8c9ea43e23
address clippy warnings 2020-12-27 20:54:04 +00:00
fakeshadow
f9fcf56d5c
reduce branch in actix_http::h1::codec (#1854) 2020-12-27 20:37:53 +00:00
Ibraheem Ahmed
cbda928a33
Rename factory to handler (#1852) 2020-12-26 21:46:19 +00:00
fakeshadow
1032f04ded
remove unused actix_http::h1::OneRequest (#1853) 2020-12-26 12:46:36 +00:00
Rob Ede
b373e1370d
prepare files 0.5.0 release 2020-12-26 04:05:45 +00:00
Edoardo Morandi
404b5a7709
Add optional support for hidden files/directories (#1811) 2020-12-26 03:36:15 +00:00
fakeshadow
ecf08d5156
Remove boxed future from h1 Dispatcher (#1836) 2020-12-24 19:15:17 +00:00
fakeshadow
87655b3028
reduce one clone on Arc. (#1850) 2020-12-23 23:58:25 +00:00
fakeshadow
3a192400a6
Simplify handler (#1843) 2020-12-23 15:47:07 +00:00
Rob Ede
2a7f2c1d59
dispatcher internals testing (#1840) 2020-12-23 01:28:17 +00:00
Rob Ede
05f104c240
improve NormalizePath docs (#1839) 2020-12-23 00:19:20 +00:00
Logan Magee
4dccd092f3
Bump rand from 0.7.x to 0.8.x (#1845) 2020-12-22 23:45:31 +00:00
fakeshadow
95ccf1c9bc
replace actix_utils::oneshot with futures_channle::oneshot (#1844) 2020-12-21 16:42:20 +00:00
fakeshadow
6cbf27508a
simplify ExtractService's return type (#1842) 2020-12-20 02:20:29 +00:00
fakeshadow
79de04d862
optimise Extract service (#1841) 2020-12-19 16:33:34 +00:00
fakeshadow
a4dbaa8ed1
remove boxed future in DefaultHeaders middleware (#1838) 2020-12-18 23:08:59 +00:00
Yuki Okushi
c7b4c6edfa
Disable PR comment from codecov 2020-12-17 21:38:52 +09:00
fakeshadow
2a5215c1d6
Remove boxed future from HttpMessage (#1834) 2020-12-17 11:40:49 +00:00
fakeshadow
97f615c245
remove boxed futures on Json extract type (#1832) 2020-12-16 23:34:33 +00:00
Rob Ede
1a361273e7
optimize bytes and string payload extractors (#1831) 2020-12-16 22:40:26 +00:00
fakeshadow
d7ce648445
remove boxed future for Option<T> and Result<T, E> extract type (#1829)
* remove boxed future for Option<T> and Result<T, E> extract type

* use ready macro

* fix fmt
2020-12-16 18:34:10 +00:00
Aravinth Manivannan
fabc68659b
Intradoc links conversion (#1827)
* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
2020-12-13 13:28:39 +00:00
Juan Aguilar
542db82282
Simplify wake up of task (#1826) 2020-12-12 20:07:06 +00:00
Rob Ede
ae63eb8bb2
fix clippy warnings (#1806)
* fix clippy warnings

* prevent CI fail status caused by codecov
2020-12-09 11:22:19 +00:00
fakeshadow
7a3776b770
remove two unused generics on BoxedRouteFuture types. (#1820) 2020-12-09 10:47:59 +00:00
fakeshadow
ff79c33fd4
remove a box (#1814) 2020-12-06 11:42:15 +00:00
Petar Dambovaliev
b75a9b7a20
add error to message in test helper func (#1812) 2020-12-05 04:57:56 +09:00