Code once, support every Rust webserver!
Fix #36 thanks @beanow-at-crabnebula
Internal changes to help with releasing rspc release candidate.
Some internal improvements to help with the new rspc update!
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.