-
Notifications
You must be signed in to change notification settings - Fork 49
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 status code checks #57
Conversation
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.
LGTM
57c20c9
to
37a3f2f
Compare
Cargo.toml
Outdated
@@ -18,6 +18,7 @@ serde = { version = "1.0", features = ["derive"] } | |||
serde_json = "1.0" | |||
url = "2.1" | |||
failure = "0.1" | |||
http = "0.2.1" |
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.
Does the reqwest crate not re-export these?
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.
sure does!
Thanks for the PR! Just one minor thing and I think it will be ready to merge after that. |
@gsquire Sounds good, done! |
I'm relatively new to Rust development, although I have been on it in many other languages, so the concept of re-export in a 3rd party package is still kinda on and off in my head, although I use it heavily in my projects. |
@gsquire shall I bump the version as well? |
Nice work, @ruseinov! Thanks again. |
FYI I bumped the version to 0.11.0 since I would consider this a breaking change. I published it now so it should be available on https://crates.io soon. CC @kanekv |
Fixes #50