-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use version type rather than strings
Upgrade to `sn-releases` version 0.2.0, which forces the use of the `semver::Version` type rather than `String` for dealing with versions. It made sense to do the same thing with string-based version fields in this crate. All of the fields on the `Settings` type were also turned into an `Option`, which makes sense because it's possible that we don't have one of the asset types installed. I'm not sure why this wasn't done in the first place. It made the code a bit simpler. BREAKING CHANGE: settings files from previous versions will not deserialize properly and will have to be deleted.
- Loading branch information
Showing
4 changed files
with
326 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.