Have had to use a small amount of Rust at a job to speed something up significantly, so I thought i'd dive into the language a little more (since i've been meaning to learn something low-level for ages now) This is a rewrite of some ancient spotify presence thing I did a while ago, rewritten in Rust since I'm trying to get the hang of it.
I don't expect anyone to use this (why would you lmao) but, it was a pretty decent experience I'd say, and i'll probably rewrite some other stuff in it too.
Sample config.json (it'll make one for you if it's missing):
{
"client_token":"",
"client_secret":"",
"refresh_token":""
}