ryankurte / rust-ptouch

Rust driver for Brother P-Touch label makers (USB)
44 stars 14 forks source link

Update embedded-graphics requirement from 0.6.2 to 0.7.0 #14

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on embedded-graphics to permit the latest version.

Release notes

Sourced from embedded-graphics's releases.

embedded-graphics v0.7.0

Please see the release notes and migration guide for more details on the full 0.7.0 release.

Added

  • #602 Implemented core::fmt::Display for Point and Size.

Changed

  • (breaking) - #600 Renamed Mapping::all to Mapping::iter.
  • (breaking) - #603 MockDisplay::eq was replaced by a PartialEq implementation for MockDisplay.

Removed

  • (breaking) - #604 Removed incomplete JIS X 0201 fonts.
Changelog

Sourced from embedded-graphics's changelog.

[0.7.0] - 2021-06-05

Added

  • #602 Implemented core::fmt::Display for Point and Size.

Changed

  • (breaking) - #600 Renamed Mapping::all to Mapping::iter.
  • (breaking) - #603 MockDisplay::eq was replaced by a PartialEq implementation for MockDisplay.

Removed

  • (breaking) - #604 Removed incomplete JIS X 0201 fonts.

[0.7.0-beta.2] - 2021-05-24

Added

  • #587 Added From<&TextStyle> impl for TextStyleBuilder and From<&MonoFont> for MonoFontBuilder.
  • #589 Implemented From trait to convert from RGB colors to grayscale colors, between different grayscale colors and from grayscale and RGB colors to BinaryColor.

Changed

  • (breaking) - #596 Added more ISO8859 glyph subsets as well as JIS_X0201 for bundled MonoFonts, supporting more languages. The latin1 subset was renamed to iso_8859_1.

[0.7.0-beta.1] - 2021-04-19

Added

  • (breaking) #552 Added the Output associated type to Drawable to allow returning non-() values from drawing operations.
  • #563 Added is_none, is_text_color and is_custom methods to DecorationColor.
  • #563 Added is_transparent methods to PrimitiveStyle and MonoTextStyle.
  • #569 Added a line_height field to TextStyle.
  • #571 Added MockDisplay::set_pixels to set pixels from an iterator.
  • #572 Added ImageRaw::new_binary to create const images with binary image data.
  • #576 Added reset methods for color settings to MonoTextStyleBuilder and PrimitiveStyleBuilder.
  • #582 Added StyledDrawable, StyledDimensions and StyledPixels traits.

Changed

  • (breaking) #561 Renamed HorizontalAlignment and VerticalAlignment to Alignment and Baseline.
  • (breaking) #561 Replaced TextRenderer::vertical_offset by baseline arguments for the other TextRenderer methods.
  • (breaking) #563 The bounding boxes returned by Dimensions implementations for styled primitives no longer depend on the fill and stroke color.
  • (breaking) #563 Drawing a primitive with a transparent stroke (stroke_color == None && stroke_width > 0) will now reduce the filled area.
  • (breaking) #566 The Drawable::Output type was changed to Point for styled Text objects. The returned point can be used to chain texts with different styles.
  • (breaking) #569 Moved the text rendering API into a separate text::renderer submodule.
  • (breaking) #569 The non_exhaustive attribute was added to the TextStyle struct.
  • (breaking) #571 Added color argument to MockDisplay::from_points to make it usable for all color types.
  • (breaking) #572 Removed the height argument from ImageRaw::new. The height is now calculated based on the width and data length.

... (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 3 years ago

Superseded by #15.