self_update icon indicating copy to clipboard operation
self_update copied to clipboard

Add support for configuring a timeout

Open banool opened this issue 3 years ago • 0 comments

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:

  1. Allow configuring the timeout when building the Update object.
  2. 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.

banool avatar Jan 31 '23 00:01 banool