1.5 KiB
1.5 KiB
Changelog
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.
[Unreleased]
Added
document
API for creating Gemini documents- preliminary timeout API, incl a special case for complex MIMEs by @Alch-Emi
Response::success_with_body
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
Improved
- build time and size by @Alch-Emi
[0.3.0] - 2020-11-14
Added
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
)
Changed
Meta::new
now rejects strings exceedingMeta::MAX_LEN
(1024
)- Some
Response
andStatus
constructors are now infallible - Improve error messages
Deprecated
- Instead of
gemini_mime()
useGEMINI_MIME
[0.2.0] - 2020-11-14
Added
- Access to client certificates by @Alch-Emi