All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
document
API for creating Gemini documents- preliminary timeout API, incl a special case for complex MIMEs by @Alch-Emi
Response::success_*
variants by @Alch-Emiredirect_temporary_lossy
forResponse
andResponseHeader
bad_request_lossy
forResponse
andResponseHeader
- support for a lot more mime-types in
guess_mime_from_path
, backed by themime_guess
crate - customizable TLS cert & key paths by @Alch-Emi
server_dir
default feature for serve_dir utils @Alch-Emi- Docments can be converted into responses with std::convert::Into @Alch-Emi
- build time and size by @Alch-Emi
GEMINI_MIME_STR
, the&str
representation of the Gemini MIMEMeta::new_lossy
, constructor that never failsMeta::MAX_LEN
, which is1024
- "lossy" constructors for
Response
andStatus
(seeMeta::new_lossy
)
Meta::new
now rejects strings exceedingMeta::MAX_LEN
(1024
)- Some
Response
andStatus
constructors are now infallible - Improve error messages
- Instead of
gemini_mime()
useGEMINI_MIME
- Access to client certificates by @Alch-Emi