Commit Graph

26 Commits

Author SHA1 Message Date
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
Ben Aaron Goldberg 4d0b0521d6
Include a workaround for a bug with rustls & webpki 2020-11-21 23:45:05 -05:00
panicbit 46ab84ba04 streamline send_response 2020-11-19 19:34:48 +01:00
Emi Tatsuo b50a5e3244
Merge remote-tracking branch 'upstream/master' into timeout-override 2020-11-19 12:36:42 -05: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
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 e0abe6344b
Reduced dependency on futures-rs 2020-11-19 02:54:45 -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 fffada14e3 increase default timeout from 1 to 30 seconds 2020-11-18 22:46:18 +01:00
Emi Tatsuo 343de637c4
Added ability to load from custom key and certificate paths 2020-11-18 09:24:22 -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
panicbit 28162bde5c move split types module into submodules 2020-11-14 04:43:29 +01:00
panicbit bfb6282a9b improve error messages 2020-11-14 03:58:57 +01:00
panicbit 015ea42840 make GEMINI_MIME_STR public 2020-11-14 00:53:54 +01:00
panicbit 9b9955827d introduce GEMINI_MIME static 2020-11-14 00:48:50 +01:00
panicbit b97c7a6f12 rename GEMINI_MIME to GEMINI_MIME_STR 2020-11-14 00:27:41 +01: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