self_update
self_update copied to clipboard
Add support for configuring a timeout
I'm currently trying all kinds of hacks to make it possible to call self_update with a timeout, but it feels like it would be easiest if the library allowed either / both of these:
- Allow configuring the timeout when building the
Updateobject. - Allow passing in your own reqwest Client.
Of course this might be the better long term fix: https://github.com/jaemk/self_update/issues/44. But the above two things are easier for now.