apollo-rs icon indicating copy to clipboard operation
apollo-rs copied to clipboard

chore(deps): update rust crate annotate-snippets to 0.11.0

Open svc-secops opened this issue 1 year ago • 0 comments

This PR contains the following updates:

Package Type Update Change
annotate-snippets dev-dependencies minor 0.10.0 -> 0.11.0

Release Notes

rust-lang/annotate-snippets-rs (annotate-snippets)

v0.11.0

Compare Source

Breaking Changes
  • Switched from char spans to byte spans #​90
  • Renamed AnnotationType to Level #​94
  • Renamed SourceAnnotation to Annotation #​94
  • Renamed Snippet to Message #​94
  • Renamed Slice to Snippet #​94
  • Message, Snippet, Annotation and Level can only be built with a builder pattern #​91 and #​94
  • Annotation labels are now optional #​94
  • Annotation now takes in Range<usize> instead of (usize, usize) #​90
  • Margin is now an internal detail, only term_width is exposed #​105
  • footer was generalized to be a Message #​98
Added
  • term_width was added to Renderer to control the rendering width #​105
    • defaults to 140 when not set
Fixed
  • Margins are now calculated per Snippet, rather than for the entire Message #​105
  • Annotations can be created without labels
Features
  • footer was expanded to allow annotating sources by accepting Message #​98

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot.

svc-secops avatar Mar 17 '24 11:03 svc-secops