Added dynamic string formatting to interpolate {ip} tag in the data property from the JSON file.

This commit is contained in:
shad0wflame
2021-12-22 19:46:55 +01:00
parent c39b0e898a
commit fa814087bd
3 changed files with 41 additions and 57 deletions

7
Cargo.lock generated
View File

@@ -181,6 +181,7 @@ dependencies = [
"serde",
"serde_json",
"simple_logger",
"strfmt",
"tokio",
]
@@ -791,6 +792,12 @@ dependencies = [
"winapi",
]
[[package]]
name = "strfmt"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b278b244ef7aa5852b277f52dd0c6cac3a109919e1f6d699adde63251227a30f"
[[package]]
name = "syn"
version = "1.0.82"