Added a method to store and get the previous IP.

This commit is contained in:
shad0wflame
2021-12-21 14:46:01 +01:00
parent 082daa4f90
commit 873e20195d
3 changed files with 57 additions and 6 deletions

15
Cargo.lock generated
View File

@@ -155,6 +155,7 @@ name = "godaddy_ddns"
version = "0.1.0"
dependencies = [
"reqwest",
"serde",
"tokio",
]
@@ -682,6 +683,20 @@ name = "serde"
version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b9875c23cf305cd1fd7eb77234cbb705f21ea6a72c637a5c6db5fe4b8e7f008"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecc0db5cb2556c0e558887d9bbdcf6ac4471e83ff66cf696e5419024d1606276"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "serde_json"