Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bindings/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- `apply_width_attributes` and `apply_height_attributes` options to add dimension HTML attributes from CSS properties on supported elements (`table`, `td`, `th`, `img`). [#652](https://github.com/Stranger6667/css-inline/issues/652)

### Changed

- Update `PyO3` to `0.28.0`.

### Performance

- Skip selectors that reference non-existent classes, IDs, or tags.
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib"]
built = { version = "0.8.0", features = ["cargo-lock", "chrono"] }

[dependencies]
pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py39"] }
pyo3 = { version = "0.28.0", features = ["extension-module", "abi3-py39"] }
pyo3-built = "0.6"
rayon = "1"
url = "2"
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fn parse_url(url: Option<String>) -> PyResult<Option<rust_inline::Url>> {
/// StylesheetCache(size=8)
///
/// An LRU Cache for external stylesheets.
#[pyclass]
#[pyclass(from_py_object)]
#[derive(Clone)]
struct StylesheetCache {
size: NonZeroUsize,
Expand Down
Loading