Commit Graph

26 Commits

Author SHA1 Message Date
Damjan Georgievski 56b924e155 remove the timestamp from the default logger middleware
env_logger and other logging systems will (or should) already add their
own timestamp.
2018-07-21 15:15:28 +02:00
Nikolay Kim 6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim 765c38e7b9 remove libc dependency 2018-06-22 11:47:33 +06:00
Nikolay Kim 65ca563579 use read only self for Middleware 2018-06-21 23:06:23 +06:00
Josh Leeb-du Toit 9c9eb62031 Update Middleware trait to use `&mut self` 2018-06-02 16:47:18 +10:00
Nikolay Kim 3f5a39a5b7 cargo fmt 2018-06-01 09:37:14 -07:00
Nikolay Kim 45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim 54c33a7aff Allow to exclude certain endpoints from logging #211 2018-05-08 16:30:34 -07:00
Nikolay Kim d9a4fadaae make HttpRequest::extensions() readonly 2018-05-01 09:05:50 -07:00
Nikolay Kim c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim 813d1d6e66 doc strings layout 2018-04-18 20:41:03 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim 7be4b1f399 clippy warns 2018-04-04 20:24:09 -07:00
Nikolay Kim 83bf852192 Fix logger request duration calculation 2018-04-02 11:09:24 -07:00
Nikolay Kim 3ee228005d rename Application 2018-03-31 00:16:55 -07:00
Nikolay Kim 44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim 2f60a4b89d add handler with exatractor 2018-03-26 23:10:31 -07:00
Nikolay Kim a7bf635158 unify headers and body processing for client response and server request 2018-02-27 15:03:28 -08:00
Nikolay Kim fd56e5dc82 do not use regset for route recognition 2018-02-21 14:31:22 -08:00
Nikolay Kim 187644e178 update logger doc string 2018-02-20 12:53:51 -08:00
Nikolay Kim ce78f17a79 refactor Middleware trait, use Result 2018-01-09 22:48:35 -08:00
Nikolay Kim 91230afc44 fix time calculations 2018-01-04 09:32:33 -08:00
Nikolay Kim cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08:00
Nikolay Kim 29adc20581 rename module 2017-12-26 19:59:41 -08:00