Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add serde derives #48

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

analog-hors
Copy link

Adds serde derives for Serialize and Deserialize, which can be enabled through the with_serde feature. Intended for being able to save and restore the population to pause and resume evolution, as well as saving the best genes for later use. Adds an example for this use case. Let me know if there are issues.

@analog-hors analog-hors marked this pull request as ready for review July 5, 2020 02:27
@TLmaK0
Copy link
Owner

TLmaK0 commented Jul 6, 2020

Thanks @KSean222. Instead of "with_serde" could it be something like "serializable"? I mean, some people not familiar with rust doesn't know what it is "serde". And the sample should be named something like serializable_sample or persistence_sample. What do you think? And we should fix the Travis CI errors https://travis-ci.org/github/TLmaK0/rustneat/jobs/705089303

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants