Serialization of many types is shipped with cereal, including most of the standard library as well as a few others.