Saving and restoring the state of a SeedableRng

The rand_pcg crate, if its optional "serde" feature is enabled, has SeedableRng types that can be serialized to (and deserialized from) any format with serde support.

2 Likes