m4tx / riichi-hand-rs

A collection of utilities for working with Riichi Mahjong player hands to use with Rust programming language
MIT License
4 stars 2 forks source link

Update usvg requirement from 0.23.0 to 0.25.0 #7

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on usvg to permit the latest version.

Release notes

Sourced from usvg's releases.

v0.25.0

  • viewsvg is a simple application that showcases resvg capabilities
  • resvg-0.*.0.tar.xz is a sources archive with vendored Rust dependencies
  • resvg-explorer-extension.exe is an SVG thumbnailer for Windows Explorer
Changelog

Sourced from usvg's changelog.

[0.25.0] - 2022-10-30

Added

  • Partial paint-order attribute support. Markers can only be under or above the shape.

Fixed

  • Compilation issues caused by rustybuzz update.

[0.24.0] - 2022-10-22

Added

  • CSS3 writing-mode variants vertical-rl and vertical-lr. Thanks to yisibl.
  • (tiny-skia) AArch64 Neon SIMD support. Up to 3x faster on Apple M1.

Changed

  • usvg::Tree stores only Group, Path and Image nodes now. Instead of emulating an SVG file structure, where gradients, patterns, filters, clips and masks are part of the nodes tree (usually inside the defs element), we reference them using Rc from now. This change makes usvg a bit simpler. Makes usvg API way easier, since instead of looking for a node via usvg::Tree::defs_by_id the caller can access the type directly via Rc. And makes creation of custom usvg::Trees way easier.
  • clip_path, mask and filters usvg::Group fields store Rc instead of String now.
  • usvg::NodeExt::units was moved to usvg::Paint::units.
  • usvg::filter::ImageKind::Use stores usvg::Node instead of String.
  • usvg::PathData stores commands and points separately now to reduce overall memory usage.
  • usvg::PathData segments should be accessed via segments() now.
  • Most numeric types have been moved to the strict-num crate.
  • Rename NormalizedValue into NormalizedF64.
  • Rename PositiveNumber into PositiveF64.
  • Raw number of numeric types should be accessed via get() method instead of value() now.
  • usvg::TextSpan::font_size is NonZeroPositiveF64 instead of f64 now.
  • Re-export usvg and tiny-skia dependencies in resvg.
  • Re-export roxmltree dependency in usvg.
  • (usvg) Output float precision is reduced from 11 to 8 digits.

Removed

  • usvg::Tree::create. usvg::Tree is an open struct now.
  • usvg::Tree::root. It's a public field now.
  • usvg::Tree::svg_node. Replaced with usvg::Tree public fields.
  • defs, is_in_defs, append_to_defs and defs_by_id from usvg::Tree. We no longer emulate SVG structure. No alternative.
  • usvg::Tree::is_in_defs. There are no defs anymore.
  • usvg::Paint::Link. We store gradient and patterns directly in usvg::Paint now.
  • usvg::Svg. No longer needed. size and view_box are usvg::Tree fields now.
  • usvg::SubPathIter and usvg::PathData::subpaths. No longer used.

Fixed

  • Path bbox calculation scales stroke width too. Thanks to growler.

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #10.