Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
daxpedda
e5f3d88a4e
Switch brotli compressor to rust. ( #1197 )
...
* Switch to a rustified version of brotli.
* Some memory optimizations.
* Make brotli not optional anymore.
2019-12-07 21:55:41 +06:00
Nikolay Kim
f73f97353b
refactor ResponseError trait
2019-11-26 16:07:39 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
8683ba8bb0
rename .to_async() to .to()
2019-11-21 21:36:35 +06:00
Nikolay Kim
1f0577f8d5
cleanup api doc examples
2019-11-21 16:02:17 +06:00
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
0d9ea41047
update min rust version
2019-07-31 06:49:46 -07:00
Nikolay Kim
fbdda8acb1
Unix domain sockets (HttpServer::bind_uds) #92
2019-07-18 17:24:12 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Ravi Shankar
32718b7e31
Expose factory traits and some clippy fixes ( #983 )
2019-07-17 12:58:42 +06:00
Nikolay Kim
ff724e239d
move identity service separate crate
2019-06-12 15:52:48 +06:00
Stefano Probst
53e2f8090f
Mark default enabled package features in the docs ( #890 )
2019-06-06 11:14:56 +06:00
Nikolay Kim
15cdc680f6
Static files are incorrectly served as both chunked and with length #812
2019-06-01 17:57:40 +06:00
Nikolay Kim
7746e785c1
re-export Service and Transform traits
2019-05-22 11:20:37 -07:00
Nikolay Kim
3b3dbb4f40
add raw services support
2019-04-24 15:29:15 -07:00
Nikolay Kim
09cdf1e302
Rename RouterConfig to ServiceConfig
2019-04-15 07:32:49 -07:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
1f2b15397d
prepare alpha5 release
2019-04-12 14:00:45 -07:00
Nikolay Kim
75b213a6f0
refactor FromRequest trait
2019-04-07 14:43:07 -07:00
Nikolay Kim
02fcaca3da
add backward compatibility
2019-04-05 11:36:26 -07:00
Darin
18593d8476
updated Connector docs and renamed service() to finish() ( #757 )
...
* added Connector to actix-web::client namespace
* updated Connector, renaming service() to finish() and adding docs
* added doc for finish method on Connector
2019-04-05 11:34:27 -07:00
Nikolay Kim
b6dacaa23a
remove SendError and SendResponse services
2019-04-05 11:29:42 -07:00
Darin
162cd3eecd
added Connector to actix-web::client namespace ( #756 )
2019-04-05 07:37:00 -07:00
Nikolay Kim
309c480782
encoder sent uncompressed data before compressed
2019-04-04 15:03:40 -07:00
Nikolay Kim
96fd61f3d5
rust 1.31.0 compatibility
2019-04-01 10:26:09 -07:00
Nikolay Kim
457b75c995
update api docs; move web to submodule
2019-03-30 10:04:38 -07:00
Nikolay Kim
d846328f36
fork cookie crate
2019-03-29 21:13:39 -07:00
Nikolay Kim
5795850bbb
decompress payload in cpu threadpool
2019-03-28 11:08:24 -07:00
Nikolay Kim
6e0fe7db2d
use actix-threadpool for blocking calls
2019-03-28 05:16:43 -07:00
Nikolay Kim
c59937784e
add client websockets support
2019-03-27 18:53:19 -07:00
Nikolay Kim
3edc515bac
refactor RequestHead/ResponseHead
2019-03-27 10:38:01 -07:00
Nikolay Kim
faa3ea8e5b
rename BodyLength to BodySize
2019-03-27 09:24:55 -07:00
Nikolay Kim
2629699b62
rename flate2-c feature to flate2-zlib
2019-03-26 18:46:06 -07:00
Nikolay Kim
83d4447349
add http client
2019-03-25 21:58:01 -07:00
Nikolay Kim
939d2e745c
rename Resource::middleware to Resource::wrap and add wrap_fn for fn middlewares
2019-03-25 12:47:58 -07:00
Nikolay Kim
9932a342ef
export Scope
2019-03-24 11:59:35 -07:00
Nikolay Kim
913155d34c
update doc strings
2019-03-24 11:47:23 -07:00
Nikolay Kim
fd3e351c31
add websockets context
2019-03-17 22:02:03 -07:00
Nikolay Kim
b550f9ecf4
update imports
2019-03-17 01:08:56 -07:00
Nikolay Kim
9012c46fe1
move payload futures from actix-http
2019-03-17 00:48:40 -07:00
Nikolay Kim
c80884904c
move JsonBody from actix-http
2019-03-16 22:04:09 -07:00
Nikolay Kim
725ee3d396
rename extract to types
2019-03-16 21:43:48 -07:00
Nikolay Kim
4a4826b23a
cleanup doc strings and clippy warnings
2019-03-16 21:35:02 -07:00
Nikolay Kim
60386f1791
introduce RouteData extractor
2019-03-16 21:09:11 -07:00
Nikolay Kim
b1e267bce4
rename State to a Data
2019-03-16 20:17:27 -07:00
Nikolay Kim
7242d96701
map BlockingError
2019-03-11 23:19:05 -07:00
Nikolay Kim
a2c4639074
move blocking code to actix-rt
2019-03-11 23:11:51 -07:00
Nikolay Kim
9680423025
Add more tests for route
2019-03-10 18:35:15 -07:00
Nikolay Kim
4d96abb639
use actix_web::Error for middleware errors
2019-03-10 16:35:38 -07:00
Nikolay Kim
b6c1135798
hide blocking mod
2019-03-10 10:56:53 -07:00
Nikolay Kim
9b8812423c
reexport Server controller form actix-server
2019-03-10 09:20:58 -07:00
Nikolay Kim
54678308d0
propogate app config with http request; add tests for url_for
2019-03-09 14:06:24 -08:00
Nikolay Kim
fde55ffa14
revert generic request parameter for service; support ServerConfig as new factory config
2019-03-09 09:49:11 -08:00
Nikolay Kim
aadcdaa3d6
add resource map, it allow to check if router has resource and it allows to generate urls for named resources
2019-03-09 07:39:34 -08:00
Nikolay Kim
eef687ec80
remove unneeded methods
2019-03-07 15:51:24 -08:00
Nikolay Kim
b6b2eadb3a
rename blocking fn
2019-03-07 14:41:43 -08:00
Nikolay Kim
c2a350b33f
export blocking via web module
2019-03-07 14:40:20 -08:00
Nikolay Kim
0e57b4ad61
export extractor configs via web module
2019-03-07 14:01:52 -08:00
Nikolay Kim
b211966c28
Payload extractor
2019-03-07 13:33:40 -08:00
Nikolay Kim
ceb6d45bf2
reexpost extractors in web module
2019-03-07 11:43:46 -08:00
Nikolay Kim
22708e78a9
added proc-macros for route registration
2019-03-07 11:09:42 -08:00
Nikolay Kim
244fff9e0a
added Logger middleware
2019-03-06 19:19:27 -08:00
Nikolay Kim
fe22e83144
refactor service registration process; unify services and resources
2019-03-06 15:47:15 -08:00
Nikolay Kim
6efc3438b8
refactor and enable some tests for staticfiles
2019-03-05 22:10:08 -08:00
Nikolay Kim
2e79562c9d
add HttpServer type
2019-03-04 16:29:03 -08:00
Nikolay Kim
34171fa7f5
add scopes
2019-03-03 21:02:01 -08:00
Nikolay Kim
360082f99f
update api docs
2019-03-03 14:45:56 -08:00
Nikolay Kim
e50d4c5e0e
rename extractor module to extract, re-enable doc tests
2019-03-03 13:53:31 -08:00
Nikolay Kim
237677be15
rename filter to guard
2019-03-03 12:09:38 -08:00
Nikolay Kim
6df85e32df
added extractor configuration system
2019-03-03 00:57:48 -08:00
Nikolay Kim
8103d33270
use custom request for FromRequest trait
2019-03-02 19:19:56 -08:00
Nikolay Kim
e4198a037a
add TestServiceRequest builder
2019-03-02 16:24:14 -08:00
Nikolay Kim
cc20fee628
add request chain services
2019-03-02 11:53:05 -08:00
Nikolay Kim
fdf3011837
add responder for unit type
2019-03-02 09:05:07 -08:00
Nikolay Kim
e6d04d24cc
move fs to separate crate
2019-03-01 23:59:44 -08:00
Nikolay Kim
2d7293aaf8
copy actix-web2
2019-03-01 22:51:32 -08:00
Juan Aguilar
55a2a59906
Improve change askama_escape in favor of v_htmlescape ( #651 )
2019-01-03 22:34:18 +03:00
Douman
46db09428c
Prepare release 0.7.16
2018-12-11 21:04:05 +03:00
Douman
389cb13cd6
Export PathConfig and QueryConfig
...
Closes #597
2018-11-20 23:06:38 +03:00
imaperson
1a0bf32ec7
Fix unnecessary owned string and change htmlescape in favor of askama_escape ( #584 )
2018-11-08 16:08:06 -08:00
Nikolay Kim
127af92541
clippy warnings
2018-10-01 21:16:56 -07:00
Nikolay Kim
91af3ca148
simplify h1 dispatcher
2018-10-01 19:18:24 -07:00
Nikolay Kim
6a61138bf8
enable ssl feature
2018-09-27 18:33:29 -07:00
Nikolay Kim
1907102685
switch to actix-net server
2018-09-27 18:33:29 -07:00
Nikolay Kim
002bb24b26
unhide SessionBackend and SessionImpl traits and cleanup warnings
2018-09-07 20:46:43 -07:00
Nikolay Kim
810995ade0
fix tokio-tls dependency #480
2018-08-23 10:10:13 -07:00
Nikolay Kim
1716380f08
clippy fmt
2018-08-23 09:48:01 -07:00
Douman
986f19af86
Revert back to serde_urlencoded dependecy ( #479 )
2018-08-21 22:23:17 +03:00
Kornel
bdc9a8bb07
Optionally support tokio-uds's UnixStream as IoStream ( #472 )
2018-08-17 19:04:15 +03:00
Douman
248bd388ca
Improve HTTP server docs ( #470 )
2018-08-16 16:11:15 +03:00
Nikolay Kim
2e8d67e2ae
upgrade native-tls package
2018-08-09 13:08:59 -07:00
Marat Safin
196da6d570
add rustls
2018-07-30 08:21:12 +03:00
Douman
6048817ba7
Correct flate feature names in documentation
2018-07-25 20:22:18 +03:00
Douman
2988a84e5f
Expose leaked private ContentDisposition ( #406 )
2018-07-19 20:03:45 +03:00
Nikolay Kim
6b10e1eff6
rename PayloadHelper
2018-07-18 10:01:28 +06:00
Nikolay Kim
2a8c2fb55e
export Payload
2018-07-16 12:14:24 +06:00
Nikolay Kim
22385505a3
clippy warnings and fmt
2018-07-16 11:17:45 +06:00
Nikolay Kim
9570c1cccd
rename RouteInfo
2018-07-15 16:25:56 +06:00
Douman
7d753eeb8c
Private serde fork ( #390 )
...
* Fork serde_urlencoded
* Apply enum PR https://github.com/nox/serde_urlencoded/pull/30
* Add test to verify enum in query
* Docs are updated to show example of how to use enum.
2018-07-13 09:59:09 +03:00