Emi Tatsuo
|
df2350a8bb
|
Switch to a much lighter in-house rate-limiting solution, and use consistant naming of ratelimiting
|
2020-11-24 13:58:18 -05:00 |
|
Emi Tatsuo
|
d5f213b270
|
Add ratelimiting example
Was really supposed to add this earlier but I forgot about it. Oops
|
2020-11-21 17:20:32 -05:00 |
|
Emi Tatsuo
|
349f6da698
|
Add rate limiting feature
ugghhhhhh I hate how big the governer crate is but there's no alternative besides DIY
|
2020-11-20 21:15:37 -05:00 |
|
Emi Tatsuo
|
536e404fdf
|
Make RoutingNode generic
|
2020-11-20 13:54:24 -05:00 |
|
Emi Tatsuo
|
59e3222ce8
|
Add trailing segments to request
|
2020-11-20 13:22:34 -05:00 |
|
Emi Tatsuo
|
54816e1f67
|
Fixed bug where root handler was never hit for requests other than exact matches
|
2020-11-19 23:34:45 -05:00 |
|
Emi Tatsuo
|
b085fa5836
|
Added routing example
|
2020-11-19 22:53:50 -05:00 |
|
Emi Tatsuo
|
c162bdd156
|
Updated changelog to add routing API
Look I remembered this time!
|
2020-11-19 22:37:31 -05:00 |
|
Emi Tatsuo
|
10c957aee5
|
Re-restrict Handler & HandlerResponse
|
2020-11-19 22:35:35 -05:00 |
|
Emi Tatsuo
|
dc18bf2d1c
|
Fix examples (& also bugs with args in lib.rs)
I thought I was clever with Into<Handler> :(
|
2020-11-19 22:33:44 -05:00 |
|
Emi Tatsuo
|
4a0d07c2ca
|
Switched Builder & Server to routes from a single handler
|
2020-11-19 22:11:31 -05:00 |
|
Emi Tatsuo
|
e6c66ed9e7
|
Don't feature gate routing
I really thought this was gonna be more complicated when I was planning it. Well,
"planning" it.
|
2020-11-19 21:45:41 -05:00 |
|
Emi Tatsuo
|
26e0fd2702
|
Added some routing classes
|
2020-11-19 21:37:02 -05:00 |
|
panicbit
|
0ca71e46c9
|
Merge pull request #28 from Alch-Emi/clippy
Appease clippy
|
2020-11-20 00:56:47 +01:00 |
|
Emi Tatsuo
|
0bcce9fd6f
|
Appease clippy
Please my compiler is so angry ;-;
|
2020-11-19 18:03:10 -05:00 |
|
panicbit
|
07c2d539d0
|
Merge branch 'Alch-Emi-timeout-override'
|
2020-11-19 19:39:28 +01:00 |
|
panicbit
|
46ab84ba04
|
streamline send_response
|
2020-11-19 19:34:48 +01:00 |
|
Emi Tatsuo
|
aeeee86aae
|
Updated changelog for complex mime timeout override
|
2020-11-19 12:37:41 -05:00 |
|
Emi Tatsuo
|
b50a5e3244
|
Merge remote-tracking branch 'upstream/master' into timeout-override
|
2020-11-19 12:36:42 -05:00 |
|
panicbit
|
381bccf36f
|
update changelog
|
2020-11-19 18:35:21 +01:00 |
|
panicbit
|
4e251d0cb6
|
Merge pull request #25 from Alch-Emi/trim-deps
Trim dependencies & move directory serving utils to feature
|
2020-11-19 18:29:52 +01:00 |
|
panicbit
|
a3882b76de
|
update changelog
|
2020-11-19 18:18:29 +01:00 |
|
panicbit
|
824405d881
|
Merge pull request #23 from Alch-Emi/custom-cert-path
Add ability to customize certificate path
|
2020-11-19 18:14:32 +01:00 |
|
Emi Tatsuo
|
c69cf49d99
|
Removed over-zeleous feature gating
|
2020-11-19 11:31:10 -05:00 |
|
Emi Tatsuo
|
475db6af79
|
Adapted a type from futures-util allowing us to drop the dep and remove a big chunk of the dep tree
|
2020-11-19 11:09:53 -05:00 |
|
Emi Tatsuo
|
87d71cb207
|
Fixed examples
|
2020-11-19 11:08:20 -05:00 |
|
Emi Tatsuo
|
3da18ca530
|
Reduced tokio featureset
|
2020-11-19 10:21:32 -05:00 |
|
Emi Tatsuo
|
e0abe6344b
|
Reduced dependency on futures-rs
|
2020-11-19 02:54:45 -05:00 |
|
Emi Tatsuo
|
753ecf708d
|
Isolate directory serving methods behind feature, incl mime_guess. Remove itertools
|
2020-11-19 02:49:41 -05:00 |
|
Emi Tatsuo
|
df362d1bc3
|
Fixed bug where incorrect timeout was used. I got the mime types backwards haha pretend you didnt see that
|
2020-11-19 01:43:57 -05:00 |
|
Emi Tatsuo
|
25d575bee7
|
Shorten references to tokio::time::timeout because I forgot I used an import for that woops sorry
|
2020-11-19 01:30:08 -05:00 |
|
Emi Tatsuo
|
94d7a5ab4f
|
Added complex timeout override option to builder
|
2020-11-19 01:25:34 -05:00 |
|
Emi Tatsuo
|
a778774189
|
Added note about short timeouts to set_timeout docs
|
2020-11-18 23:29:00 -05:00 |
|
Emi Tatsuo
|
4e3417fb41
|
Added ability to customize certificate path
|
2020-11-18 23:10:48 -05:00 |
|
panicbit
|
bbf034cf47
|
update changelog
|
2020-11-18 23:18:50 +01:00 |
|
panicbit
|
f2b27665c2
|
correctly ignore doctest
|
2020-11-18 23:01:10 +01:00 |
|
panicbit
|
5a92d8d28f
|
use mime_guess for guessing mime
|
2020-11-18 23:00:46 +01:00 |
|
panicbit
|
ddf9c4b9f8
|
Merge pull request #22 from panicbit/21_increase_default_timeout
increase default timeout from 1 to 30 seconds
|
2020-11-18 22:54:46 +01:00 |
|
panicbit
|
fffada14e3
|
increase default timeout from 1 to 30 seconds
|
2020-11-18 22:46:18 +01:00 |
|
panicbit
|
65b35a48d7
|
update changelog
|
2020-11-18 21:29:21 +01:00 |
|
panicbit
|
931c3fbbc2
|
add temporary redirects and bad requests
|
2020-11-18 21:26:27 +01:00 |
|
panicbit
|
0daf01fd3e
|
update changelog
|
2020-11-18 21:16:14 +01:00 |
|
panicbit
|
4eae63ac4e
|
Merge pull request #17 from Alch-Emi/timeout
Add timeouts to response handling
|
2020-11-18 21:04:48 +01:00 |
|
Emi Tatsuo
|
343de637c4
|
Added ability to load from custom key and certificate paths
|
2020-11-18 09:24:22 -05:00 |
|
panicbit
|
cab1cf8ad6
|
Merge pull request #18 from Alch-Emi/success-with-body
Add Response::success_with_body
|
2020-11-18 09:15:14 +01:00 |
|
Emi Tatsuo
|
6a78b2f31a
|
Added Response::success_with_body
|
2020-11-17 21:41:18 -05:00 |
|
Emi Tatsuo
|
aa2dbbf67a
|
Fixed typo in timeout docs
|
2020-11-17 21:01:54 -05:00 |
|
Emi Tatsuo
|
71cf4d33f2
|
Added ability to set the timeout in the Server builder
|
2020-11-17 20:45:57 -05:00 |
|
Emi Tatsuo
|
3245396682
|
Add basic timeout with hardcoded durations
|
2020-11-17 20:38:10 -05:00 |
|
panicbit
|
387ca06611
|
fix visibility of URIReference in crate root
|
2020-11-17 01:50:35 +01:00 |
|