From af7a0270798a143728c2aedf5bd63ce86a7e7cb9 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 28 Dec 2023 18:38:42 +0100 Subject: [PATCH] docs: Update crate versions --- README.md | 4 ++-- bindings/python/README.md | 2 +- bindings/ruby/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4141a62a..05ac0c9e 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ To include it in your project, add the following line to the dependencies sectio ```toml [dependencies] -css-inline = "0.11" +css-inline = "0.12" ``` The Minimum Supported Rust Version is 1.65. @@ -146,7 +146,7 @@ fn main() -> Result<(), css_inline::InlineError> { `css-inline` typically inlines HTML emails within hundreds of microseconds, though results may vary with input complexity. -Benchmarks for `css-inline==0.11.2`: +Benchmarks for `css-inline==0.12.0`: - Basic: **6.51 µs**, 230 bytes - Realistic-1: **137.91 µs**, 8.58 KB diff --git a/bindings/python/README.md b/bindings/python/README.md index 2a0d4111..eb7faaa1 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -174,7 +174,7 @@ Most of the time it achieves over a **10x** speed advantage compared to the next Here is the performance comparison: -| | Size | `css_inline 0.11.2` | `premailer 3.10.0` | `toronado 0.1.0` | `inlinestyler 0.2.5` | `pynliner 0.8.0` | +| | Size | `css_inline 0.12.0` | `premailer 3.10.0` | `toronado 0.1.0` | `inlinestyler 0.2.5` | `pynliner 0.8.0` | |-------------|---------|---------------------|------------------------|------------------------|------------------------|------------------------| | Basic | 230 B | 6.75 µs | 131.50 µs (**19.48x**) | 666.20 µs (**98.70x**) | 1.05 ms (**155.82x**) | 1.20 ms (**178.63x**) | | Realistic-1 | 8.58 KB | 138.79 µs | 1.43 ms (**10.34x**) | 16.52 ms (**119.07x**) | 27.59 ms (**198.85x**) | 51.74 ms (**372.84x**) | diff --git a/bindings/ruby/README.md b/bindings/ruby/README.md index ec8745a3..77a78c4f 100644 --- a/bindings/ruby/README.md +++ b/bindings/ruby/README.md @@ -141,7 +141,7 @@ It consistently outperforms `premailer`, offering speed increases often exceedin The table below provides a detailed comparison between `css_inline` and `premailer` when inlining CSS into an HTML document (like in the Usage section above): -| | Size | `css_inline 0.11.2` | `premailer 1.21.0 with Nokogiri 1.15.2` | Difference | +| | Size | `css_inline 0.12.0` | `premailer 1.21.0 with Nokogiri 1.15.2` | Difference | |-------------------|---------|---------------------|------------------------------------------------|------------| | Basic usage | 230 B | 8.27 µs | 433.55 µs | **52.35x** | | Realistic email 1 | 8.58 KB | 159.20 µs | 9.88 ms | **62.10x** |