Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

0.0.2

Compare
Choose a tag to compare
@oscartbeaumont oscartbeaumont released this 27 Sep 09:23
· 29 commits to main since this release

Pass CookieJar by value instead of by mutable reference (&mut CookieJar). This change requires people using the library to pass back the CookieJar when they respond from their HTTP handler. This change was made as it allows downstream code to potentially Arc the CookieJar allowing the lifetime to be erased. Doing so is obviously worse for performance but may be a requirement depending on the downstream project. It is also my believe decisions like that should be pass downstream so the library author can do whatever they deem as best for their situation.