Commit Graph

25 Commits

Author SHA1 Message Date
Emi Tatsuo 6e82ae059d
Add user management routes 2020-11-21 23:03:56 -05:00
Emi Tatsuo 115d0aa120
Merge branch 'doc-into-req' into user-management 2020-11-21 17:19:49 -05:00
Emi Tatsuo 0b4fca2c69
Merge branch 'allow-async-handlers' into user-management 2020-11-21 16:55:36 -05:00
Emi Tatsuo e678e45b78
Merge branch 'routes' into user-management 2020-11-20 21:53:00 -05:00
Emi Tatsuo 2604b02e2b
Merge branch 'routes' into allow-async-handlers 2020-11-20 14:00:49 -05:00
Emi Tatsuo 59e3222ce8
Add trailing segments to request 2020-11-20 13:22:34 -05:00
Emi Tatsuo 3296d00ec3
Add From<Borrow<Document>> to Response
This allows users to call &mut Document.into() in order to create a response, so that you
can do it right in the middle of one of those builder call chain thingies
2020-11-20 09:51:37 -05:00
Emi Tatsuo 29c831649d
Changed the add_route API to allow the use of simpler, async handlers 2020-11-19 23:48:55 -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 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 f0517ef0b7
Fix user management example 2020-11-19 16:24:38 -05:00
Emi Tatsuo 4996ae99d2
Merge remote-tracking branch 'upstream/master' into user-management 2020-11-19 14:41:18 -05:00
Emi Tatsuo e0abe6344b
Reduced dependency on futures-rs 2020-11-19 02:54:45 -05:00
Emi Tatsuo 6a78b2f31a
Added Response::success_with_body 2020-11-17 21:41:18 -05:00
Emi Tatsuo 0e2f8d5f62
Added user management API [WIP] 2020-11-16 01:13:16 -05:00
panicbit 2fc015fb89 fix typo 2020-11-14 10:00:48 +01:00
panicbit 0c05d6d162 implement document API 2020-11-14 09:55:21 +01:00
panicbit bfb6282a9b improve error messages 2020-11-14 03:58:57 +01:00
panicbit af614a06aa reduce number of functions that return Result 2020-11-14 01:55:47 +01:00
panicbit 9b9955827d introduce GEMINI_MIME static 2020-11-14 00:48:50 +01:00
Emi Tatsuo 168bb56aa2
Renamed methods to match spec 2020-11-13 17:54:06 -05:00
Emi Tatsuo eaee14d174
Moved certificate into request, so this is no longer a breaking change 2020-11-13 15:07:30 -05:00
Emi Tatsuo 3547143860
Expose client certificates to the user 2020-11-13 14:20:59 -05:00
panicbit acef45c75c init 2020-10-31 20:53:03 +01:00