use YAML parser for sidecar files

The syntax so far is (compatible with) YAML.
This commit is contained in:
Johann150 2021-02-10 21:17:39 +01:00
parent 8f2cfe7a8f
commit 544f577b59
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 94 additions and 54 deletions

16
Cargo.lock generated
View file

@ -14,6 +14,7 @@ dependencies = [
"tokio",
"tokio-rustls",
"url",
"yaml-rust",
]
[[package]]
@ -141,6 +142,12 @@ version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3"
[[package]]
name = "linked-hash-map"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
[[package]]
name = "log"
version = "0.4.14"
@ -539,3 +546,12 @@ name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "yaml-rust"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
dependencies = [
"linked-hash-map",
]