-
Notifications
You must be signed in to change notification settings - Fork 3
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
Move api-client out of the cli #308
Conversation
😎 Merged successfully - details. |
f2a0ffa
to
861a144
Compare
@@ -74,7 +74,7 @@ where | |||
} | |||
}); | |||
|
|||
let result = Retry::spawn(default_delay(), || (&mut self.action).run()).await; | |||
let result = Retry::spawn(default_delay(), || self.action.run()).await; |
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.
clippy changed this
.cloned() | ||
.take(2) | ||
.cloned() |
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.
This was also changed by clippy.
d939ee6
to
3b25066
Compare
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.
Oh! I just figured out that this is the config to make imports get auto-formatted!
https://rust-lang.github.io/rustfmt/?version=v1.8.0&search=#group_imports
8dc867c
to
19819f8
Compare
In an effort to remove having
libs
under the cli, separate this out into the api crate. This PR also cleans up some of the naming and adds corresponding request / response types where previously missing.