From 8bd4786ac5cd2014e971807bd565560eb74ab5fa Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 4 Apr 2026 09:42:20 +0300 Subject: [PATCH 1/2] chore: update toml to 1 --- Cargo.toml | 3 ++- src/lib.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 139af50..2e3fcf4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Martin Geisler "] categories = ["development-tools", "rust-patterns"] documentation = "https://docs.rs/version-sync/" edition = "2021" +rust-edition = "1.86" keywords = ["version"] license = "MIT" readme = "README.md" @@ -23,7 +24,7 @@ pulldown-cmark = { version = "0.11", default-features = false, optional = true } regex = { version = "1.5.4", default-features = false, features = ["std", "unicode"], optional = true } semver = { version = "1.0.5", optional = true } syn = { version = "2.0.15", default-features = false, features = ["parsing", "printing", "full"], optional = true } -toml = { version = "0.8.8", optional = true } +toml = { version = "1", optional = true } url = { version = "2.2.2", optional = true } [dev-dependencies] diff --git a/src/lib.rs b/src/lib.rs index 839b680..1b99431 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -81,6 +81,7 @@ #![doc(html_root_url = "https://docs.rs/version-sync/0.9.5")] #![forbid(unsafe_code)] #![deny(missing_docs)] +#![allow(clippy::test_attr_in_doctest)] mod contains_regex; mod contains_substring; From e66e4c0e2a57c986158d0249a34638ba4103468a Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 4 Apr 2026 09:43:16 +0300 Subject: [PATCH 2/2] chore: update pulldown-cmark to 0.13 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2e3fcf4..0696784 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ contains_regex = ["regex", "semver"] [dependencies] proc-macro2 = { version = "1.0.36", default-features = false, features = ["span-locations"], optional = true } -pulldown-cmark = { version = "0.11", default-features = false, optional = true } +pulldown-cmark = { version = "0.13", default-features = false, optional = true } regex = { version = "1.5.4", default-features = false, features = ["std", "unicode"], optional = true } semver = { version = "1.0.5", optional = true } syn = { version = "2.0.15", default-features = false, features = ["parsing", "printing", "full"], optional = true }