From d3b1b99595aadd5c73ebe2077fe1cfad948f9e59 Mon Sep 17 00:00:00 2001 From: xmakro Date: Mon, 29 Apr 2024 19:01:41 +0100 Subject: [PATCH 1/2] Remove unused dashmap dependency --- Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 92da4d3..34717dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "html2text" -version = "0.12.4" +version = "0.12.5" authors = ["Chris Emerson "] description = "Render HTML as plain text." repository = "https://github.com/jugglerchris/rust-html2text/" @@ -21,8 +21,6 @@ unicode-width = "0.1.5" backtrace = { version = "0.3", optional=true } thiserror = "1.0.50" lightningcss = { version = "1.0.0-alpha.54", optional=true } -# Keep dashmap back; 5.5 has a higher MSRV. -dashmap = "~5.4" log = { version = "0.4.20", optional = true } [features] From 642f5cdc4a9d172089fe6711fb94c9d259bfd8f9 Mon Sep 17 00:00:00 2001 From: xmakro Date: Thu, 2 May 2024 23:40:14 +0100 Subject: [PATCH 2/2] change to optional --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 34717dd..803fb43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,8 @@ unicode-width = "0.1.5" backtrace = { version = "0.3", optional=true } thiserror = "1.0.50" lightningcss = { version = "1.0.0-alpha.54", optional=true } +# Keep dashmap back; 5.5 has a higher MSRV. +dashmap = { version = "~5.4", optional=true } log = { version = "0.4.20", optional = true } [features]