atlanticaccent / starsector-mod-manager-rust

A mod manager for Starsector, a space fleet-battle and economics simulator. This time written in Rust.
https://atlanticaccent.github.io/starsector-mod-manager-rust/
MIT License
33 stars 1 forks source link

atlanticaccent/issue7 #35

Closed atlanticaccent closed 3 years ago

atlanticaccent commented 3 years ago

Fixes #7

Contacts remotely hosted version files to determine if local mod is out of date.

Utilises JSON5 parser, comment_stripper and forked/patched handwritten-json library to normalize, strip and parse non-standard JSON. Version files appear to be quite tricky, due to thread IDs being recorded as both strings and ints, and the patch field often being a non-quote-delimited string, which is wholly non-compliant.