Show warning if config version is outdated or invalid

This commit is contained in:
timvisee
2021-11-15 16:32:13 +01:00
parent 6b38dce5ab
commit 17ec663e15
3 changed files with 46 additions and 1 deletions

7
Cargo.lock generated
View File

@@ -634,6 +634,7 @@ dependencies = [
"thiserror",
"tokio",
"toml",
"version-compare",
"winapi",
]
@@ -1264,6 +1265,12 @@ dependencies = [
"version_check",
]
[[package]]
name = "version-compare"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe88247b92c1df6b6de80ddc290f3976dbdf2f5f5d3fd049a9fb598c6dd5ca73"
[[package]]
name = "version_check"
version = "0.9.3"