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

Implement (optional) datetime feature using chrono #14

Merged
merged 2 commits into from Jun 19, 2018

Conversation

mekagoza
Copy link
Contributor

This should implement issue #11 . This is implemented using an optional Cargo feature, so it's disabled by default to minimize unnecessary dependencies and compile time. That can be changed.

@svenstaro , can you take a look over this and let me know if this is what you had in mind? The tests in src/lib.rs are instructive, and the implementation is all in src/faker/time.rs

@svenstaro
Copy link
Contributor

Looks pretty good! Make sure to also update the README though.

@mekagoza
Copy link
Contributor Author

Ok, I'll update the README and make sure everything works well with the macro

@mekagoza
Copy link
Contributor Author

@cksac How does everything look?

@cksac
Copy link
Owner

cksac commented Jun 19, 2018

@mekagoza looks good. Thanks for the PR.

@cksac cksac merged commit 3d92f91 into cksac:master Jun 19, 2018
@mekagoza
Copy link
Contributor Author

@cksac Not sure about this but it might be worth bumping the semver in Cargo.toml to 1.3 or whatever for this. I wanted to leave that in your hands

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.

None yet

3 participants