From 01bae614e371ce05271193816010bb3600f86e2b Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Fri, 31 May 2024 18:47:54 +0300
Subject: [PATCH] chore(deps): Add `toml` to dependencies
Signed-off-by: Awiteb
---
Cargo.lock | 51 +++++++++++++++++++++++++++++++++++++++++++++++++--
Cargo.toml | 1 +
2 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 0ec3be1..3f2bf3c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1468,7 +1468,7 @@ version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
dependencies = [
- "toml_edit",
+ "toml_edit 0.21.1",
]
[[package]]
@@ -1997,6 +1997,15 @@ dependencies = [
"serde",
]
+[[package]]
+name = "serde_spanned"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "serde_urlencoded"
version = "0.7.1"
@@ -2186,6 +2195,7 @@ dependencies = [
"serde_json",
"sha256",
"tokio",
+ "toml",
]
[[package]]
@@ -2350,11 +2360,26 @@ dependencies = [
"tokio",
]
+[[package]]
+name = "toml"
+version = "0.8.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba"
+dependencies = [
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "toml_edit 0.22.13",
+]
+
[[package]]
name = "toml_datetime"
version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf"
+dependencies = [
+ "serde",
+]
[[package]]
name = "toml_edit"
@@ -2364,7 +2389,20 @@ checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
dependencies = [
"indexmap",
"toml_datetime",
- "winnow",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.22.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c"
+dependencies = [
+ "indexmap",
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "winnow 0.6.9",
]
[[package]]
@@ -2857,6 +2895,15 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "winnow"
+version = "0.6.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "86c949fede1d13936a99f14fafd3e76fd642b556dd2ce96287fbe2e0151bfac6"
+dependencies = [
+ "memchr",
+]
+
[[package]]
name = "winreg"
version = "0.52.0"
diff --git a/Cargo.toml b/Cargo.toml
index 43f075d..22db1b0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,6 +26,7 @@ serde = {version = "1.0.202", features = ["derive"]}
serde_json = "1.0.117"
sha256 = "1.5.0"
tokio = {version = "1.37.0", features = ["macros", "rt-multi-thread", "signal"]}
+toml = { version = "0.8.13", default-features = false, features = ["parse"] }
[lints.rust]
unsafe_code = "forbid"