This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
The code is cleaned up and the user can provide a type for which the cookie will be serialized and deserialized.
In order to do that the user can implement the traits "FromString" and "ToString".
The "ToString" trait allows a type to be stored as a cookie string and "FromString" allows a type to be converted from a cookie string.