Commit graph

57 commits

Author SHA1 Message Date
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
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
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
panicbit 987621cca9 support gmi extension when guessing mime types
Closes #12
2020-11-15 22:03:50 +01:00
panicbit d3f65f2fc2
Merge pull request #14 from panicbit/11_gemini_documents
implement document API
2020-11-15 21:57:52 +01:00
panicbit 09f7866653 update changelog 2020-11-15 21:46:10 +01:00
panicbit add2f30ca6 remove unused function 2020-11-15 21:42:13 +01:00
panicbit bbeb697bb1 complete document documentation 2020-11-15 21:40:16 +01:00
panicbit ec6a0af782 keep document internals private 2020-11-15 21:17:22 +01:00
panicbit ae803a55d2 do not escape heading text 2020-11-15 21:14:53 +01:00
panicbit 45c808d0d0 document more Document methods 2020-11-15 21:14:41 +01:00
panicbit 070ed2a222 add instructions for multiple domains to readme 2020-11-15 20:23:42 +01:00
panicbit 46077739b3 document some Document methods 2020-11-15 07:01:38 +01:00
panicbit 0425bf2cf3 add Cowy util trait 2020-11-14 22:46:29 +01: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 75a1cd1eb5 bump crate version to 0.3.1 2020-11-14 04:58:03 +01:00
panicbit 3f0e17adeb add repo and doc links to Cargo.toml 2020-11-14 04:57:48 +01:00
panicbit 5924c684f8 bump crate version to 0.3.0 2020-11-14 04:50:36 +01:00
panicbit a9e3950a73 tweak changelog 2020-11-14 04:46:26 +01:00
panicbit 175bd7faf5 fix typo 2020-11-14 04:45:15 +01:00
panicbit 28162bde5c move split types module into submodules 2020-11-14 04:43:29 +01:00
panicbit f7c7cb63a6 bump crate version in READMEs 2020-11-14 04:03:45 +01:00
panicbit 2528ce21b8
Merge pull request #10 from panicbit/2_better_errors
improve error messages
2020-11-14 04:00:47 +01:00
panicbit bfb6282a9b improve error messages 2020-11-14 03:58:57 +01:00
panicbit a70c5ddf16
Merge pull request #8 from panicbit/reduce_result_returns
Reduce the number of fallible constructors
2020-11-14 02:56:14 +01:00
panicbit 82dc34b2c5 respect meta max len of 1024 in constructors 2020-11-14 02:54:34 +01:00
panicbit 73a5c4007d add changelog 2020-11-14 02:22:07 +01:00
panicbit af614a06aa reduce number of functions that return Result 2020-11-14 01:55:47 +01:00
panicbit 1a145c922c add Meta::new_lossy 2020-11-14 01:45:16 +01:00
panicbit 5f96cbc5e6
Merge pull request #5 from panicbit/4_gemini_mime_convenience
4 gemini mime convenience
2020-11-14 01:13:48 +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
panicbit 4b08edc890 bump version to 0.2.0 2020-11-13 23:59:51 +01:00