-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat: allow (de)serializing countries to/from alpha-2, alpha-3 and numeric country codes #836
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
Conversation
Narayanbhat166
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Awesome work!
|
Any specific reason these tests are failing? |
SanchithHegde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that, looks good to me! Thanks for your contribution by the way!
|
Suggested changes done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that, looks good to me!
Edit: Also, please address the formatting check and clippy lints.
Narayanbhat166
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good to me!
Type of Change
Description
fixes #804
Additional Changes
Motivation and Context
How did you test it?
Added multiple test cases covering maximum scenarios
Tested with
cargo testwith all OK passedChecklist
cargo +nightly fmt --allcargo clippy