Skip to content

Commit

Permalink
docs: Update crate versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Dec 28, 2023
1 parent d872f54 commit af7a027
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**) |
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** |
Expand Down

0 comments on commit af7a027

Please sign in to comment.