Repository: jonasbb/serde_with
Pull request #803 (2024-11-28 18:19:19)

Reformat all cargo.toml
Just a minor cleanup to keep spacing consistent

nyurik: seems your CI really doesn't like me :(
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/jonasbb/serde_with/pull/803?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Bushart) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 66.55%. Comparing base [(`90d8a17`)](https://app.codecov.io/gh/jonasbb/serde_with/commit/90d8a17fea3946c4be9d4e1104c984aabc491a52?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Bushart) to head [(`cf3d028`)](https://app.codecov.io/gh/jonasbb/serde_with/commit/cf3d0282b08786ea92c09255dc3943d28a06b9e6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Bushart).

<details><summary>Additional details and impacted files</summary>


```diff
@@           Coverage Diff           @@
##           master     #803   +/-   ##
=======================================
  Coverage   66.55%   66.55%           
=======================================
  Files          40       40           
  Lines        2613     2613           
=======================================
  Hits         1739     1739           
  Misses        874      874           
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/jonasbb/serde_with/pull/803?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Bushart).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Bushart).


Patch:
diff --git a/.cargo/audit.toml b/.cargo/audit.toml
index 8699acc..941cd42 100644
--- a/.cargo/audit.toml
+++ b/.cargo/audit.toml
@@ -17,7 +17,7 @@ informational_warnings = [
 
 # Output Configuration
 [output]
- # exit on error if unmaintained dependencies are found
+# exit on error if unmaintained dependencies are found
 deny = [
     "unmaintained",
     "unsound",
diff --git a/bors.toml b/bors.toml
index a9bd379..b3b25ca 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1,7 +1,7 @@
 # List of commit statuses that must pass on the merge commit before it is pushed to master.
 status = [
-  "Tests result",
-  "Rustsec Audit",
+    "Tests result",
+    "Rustsec Audit",
 ]
 # If set to true, and if the PR branch is on the same repository that bors-ng itself is on, the branch will be deleted.
 delete_merged_branches = true
diff --git a/serde_with/Cargo.toml b/serde_with/Cargo.toml
index a4db1bb..1f0034e 100644
--- a/serde_with/Cargo.toml
+++ b/serde_with/Cargo.toml
@@ -23,7 +23,7 @@ version.workspace = true
 include = ["src/**/*", "tests/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
 
 [badges]
-maintenance = {status = "actively-developed"}
+maintenance = { status = "actively-developed" }
 
 # When adding new features update the documentation in feature-flags.md
 # The features are documented using https://docs.rs/document-features
@@ -127,21 +127,21 @@ time_0_3 = ["dep:time_0_3"]
 
 # When adding new optional dependencies, update the documentation in feature-flags.md
 [dependencies]
-base64 = {version = "0.22.1", optional = true, default-features = false}
-chrono_0_4 = {package = "chrono", version = "0.4.20", optional = true, default-features = false, features = ["serde"]}
-doc-comment = {version = "0.3.3", optional = true}
-document-features = {version = "0.2.7", optional = true}
-hashbrown_0_14 = {package = "hashbrown", version = "0.14.0", optional = true, default-features = false, features = ["serde"]}
-hashbrown_0_15 = {package = "hashbrown", version = "0.15.0", optional = true, default-features = false, features = ["serde"]}
-hex = {version = "0.4.3", optional = true, default-features = false}
-indexmap_1 = {package = "indexmap", version = "1.8", optional = true, default-features = false, features = ["serde-1"]}
-indexmap_2 = {package = "indexmap", version = "2.0", optional = true, default-features = false, features = ["serde"]}
-schemars_0_8 = {package = "schemars", version = "0.8.16", optional = true, default-features = false}
-serde = {version = "1.0.152", default-features = false}
+base64 = { version = "0.22.1", optional = true, default-features = false }
+chrono_0_4 = { package = "chrono", version = "0.4.20", optional = true, default-features = false, features = ["serde"] }
+doc-comment = { version = "0.3.3", optional = true }
+document-features = { version = "0.2.7", optional = true }
+hashbrown_0_14 = { package = "hashbrown", version = "0.14.0", optional = true, default-features = false, features = ["serde"] }
+hashbrown_0_15 = { package = "hashbrown", version = "0.15.0", optional = true, default-features = false, features = ["serde"] }
+hex = { version = "0.4.3", optional = true, default-features = false }
+indexmap_1 = { package = "indexmap", version = "1.8", optional = true, default-features = false, features = ["serde-1"] }
+indexmap_2 = { package = "indexmap", version = "2.0", optional = true, default-features = false, features = ["serde"] }
+schemars_0_8 = { package = "schemars", version = "0.8.16", optional = true, default-features = false }
+serde = { version = "1.0.152", default-features = false }
 serde_derive = "1.0.152"
-serde_json = {version = "1.0.45", optional = true, default-features = false}
-serde_with_macros = {path = "../serde_with_macros", version = "=3.11.0", optional = true}
-time_0_3 = {package = "time", version = "~0.3.36", optional = true, default-features = false}
+serde_json = { version = "1.0.45", optional = true, default-features = false }
+serde_with_macros = { path = "../serde_with_macros", version = "=3.11.0", optional = true }
+time_0_3 = { package = "time", version = "~0.3.36", optional = true, default-features = false }
 
 [dev-dependencies]
 expect-test = "1.5.0"
@@ -150,13 +150,13 @@ glob = "0.3.0"
 jsonschema = { version = "0.26.1", default-features = false, features = ["resolve-file"] }
 mime = "0.3.16"
 pretty_assertions = "1.4.0"
-regex = {version = "1.11.0", default-features = false, features = ["std"]}
+regex = { version = "1.11.0", default-features = false, features = ["std"] }
 rmp-serde = "1.3.0"
 ron = "0.8"
 rustversion = "1.0.0"
-schemars_0_8 = {package = "schemars", version = "0.8.16"}
-serde = {version = "1.0.152", default-features = false, features = ["derive"]}
-serde_json = {version = "1.0.25", features = ["preserve_order"]}
+schemars_0_8 = { package = "schemars", version = "0.8.16" }
+serde = { version = "1.0.152", default-features = false, features = ["derive"] }
+serde_json = { version = "1.0.25", features = ["preserve_order"] }
 serde_test = "1.0.124"
 serde_yaml = "0.9.2"
 serde-xml-rs = "0.6.0"
@@ -244,9 +244,9 @@ rustdoc-args = [
 
 [package.metadata.release]
 pre-release-replacements = [
-    {file = "CHANGELOG.md", search = "\\[Unreleased\\]", replace = "[Unreleased]\n\n## [{{version}}] - {{date}}"},
-    {file = "src/lib.rs", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/"},
-    {file = "README.md", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/"},
+    { file = "CHANGELOG.md", search = "\\[Unreleased\\]", replace = "[Unreleased]\n\n## [{{version}}] - {{date}}" },
+    { file = "src/lib.rs", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/" },
+    { file = "README.md", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/" },
 ]
 tag = true
 tag-message = "{{crate_name}} v{{version}}"
diff --git a/serde_with_macros/Cargo.toml b/serde_with_macros/Cargo.toml
index 3b72308..9826274 100644
--- a/serde_with_macros/Cargo.toml
+++ b/serde_with_macros/Cargo.toml
@@ -30,7 +30,7 @@ include = [
 proc-macro = true
 
 [badges]
-maintenance = {status = "actively-developed"}
+maintenance = { status = "actively-developed" }
 
 [features]
 schemars_0_8 = []
@@ -52,7 +52,7 @@ version = "2.0.0"
 expect-test = "1.5.0"
 pretty_assertions = "1.4.0"
 rustversion = "1.0.0"
-serde = {version = "1.0.152", features = ["derive"]}
+serde = { version = "1.0.152", features = ["derive"] }
 serde_json = "1.0.25"
 trybuild = "1.0.80"
 version-sync = "0.9.1"
@@ -62,8 +62,8 @@ all-features = true
 
 [package.metadata.release]
 pre-release-replacements = [
-    {file = "CHANGELOG.md", search = "\\[Unreleased\\]", replace = "[Unreleased]\n\n## [{{version}}] - {{date}}"},
-    {file = "src/lib.rs", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/"},
-    {file = "src/lib.rs", search = "https://docs\\.rs/serde_with_macros/[\\d.]+/", replace = "https://docs.rs/serde_with_macros/{{version}}/"},
+    { file = "CHANGELOG.md", search = "\\[Unreleased\\]", replace = "[Unreleased]\n\n## [{{version}}] - {{date}}" },
+    { file = "src/lib.rs", search = "https://docs\\.rs/serde_with/[\\d.]+/", replace = "https://docs.rs/serde_with/{{version}}/" },
+    { file = "src/lib.rs", search = "https://docs\\.rs/serde_with_macros/[\\d.]+/", replace = "https://docs.rs/serde_with_macros/{{version}}/" },
 ]
 tag = false


Test patch:
diff --git a/serde_with_test/Cargo.toml b/serde_with_test/Cargo.toml
index ceaf59d..a039e8b 100644
--- a/serde_with_test/Cargo.toml
+++ b/serde_with_test/Cargo.toml
@@ -12,9 +12,9 @@ rust-version.workspace = true
 
 [dependencies]
 cfg_eval = "0.1.2"
-s = {package = "serde", version = "1.0.75", features = ["derive"]}
-s_json = {package = "serde_json", version = "1.0.59"}
-s_with = {package = "serde_with", path = "../serde_with"}
+s = { package = "serde", version = "1.0.75", features = ["derive"] }
+s_json = { package = "serde_json", version = "1.0.59" }
+s_with = { package = "serde_with", path = "../serde_with" }
 
 [package.metadata.release]
 release = false