Emi Tatsuo
9ec1a5663d
Merge branch 'devel' into gemtext
2020-12-07 17:29:34 -05:00
Emii Tatsuo
244fd25112
Completely reworked request handling to be able to serve SCGI
...
Multi ~~track~~ protocol ~~drifting~~ abstraction!!
2020-12-01 02:31:08 -05:00
Emii Tatsuo
4ba099f947
Outsource document building to the gemtext crate
...
This change is still pending on some of my PRs being merged to main in the gemtext repository. Please see:
=> https://tulpa.dev/cadey/maj/pulls/12 Add conversion traits to Builder
=> https://tulpa.dev/cadey/maj/pulls/13 Add a `blank_line()` method to `Builder`
=> https://tulpa.dev/cadey/maj/pulls/14 Accept an Option<&str> as a link name
=> https://tulpa.dev/cadey/maj/pulls/15 Add support for alt-text in preformatted blocks
Once these changes are merged, the dependency on gemtext should be moved to the crates.io version
2020-11-30 14:27:58 -05:00
Emii Tatsuo
b69aba139f
Rebrand as kochab
...
I spent /so/ long looking for that figlet font.
__ __ __
/ /______ _____/ /_ ____ _/ /_
/ //_/ __ \/ ___/ __ \/ __ `/ __ \
/ ,< / /_/ / /__/ / / / /_/ / /_/ /
/_/|_|\____/\___/_/ /_/\__,_/_.___/
2020-11-25 00:42:09 -05:00
Emi Tatsuo
c3d7381860
Added a static handler type. Impl AsRef<Body> for Response
...
im so tired i havent slept enough in so long but also i havent done any productive work like do you think im using this project as an excuse or like a bad coping mechanism for my mental health or something like that cause thats what its starting to feel like
2020-11-23 23:34:11 -05:00
Emi Tatsuo
f572209dfa
Merge branch 'reduce-arcs' into routes
2020-11-23 10:55:48 -05:00
panicbit
eebf7119fb
Merge branch 'master' into routes
2020-11-22 21:00:33 +01: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
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
e0abe6344b
Reduced dependency on futures-rs
2020-11-19 02:54:45 -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