These are chat archives for
Sign in to start talking
a safe, concurrent, practical language
Mar 30 2016 19:06
probably more of a linux question:
is it possible to have a self-updating single-binary programs in rust?
i.e. an application that checks for a new version, downloads a new version, replaces the binary and restarts itself?
I know that this probably won't work on win ...
Mar 30 2016 19:11
it is fairly easy to do on linux, but it is indeed problematic on windows
actually, a few days ago I was reading that part of the new rustup which does exactly this
and below, I think
Mar 30 2016 19:17
thanks, don't care about windows
kind of annoying that it's easier to update a binary with a new version number manually than figuring out the newest version of some package on Maven Central automatically.
there are some APIs for querying that stuff, but they all require authentication/paid stuff
Mar 30 2016 19:27
oh, found something! :-)