Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): lock file maintenance rust dependencies #10796

Merged
merged 2 commits into from
Apr 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 23, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
lockFileMaintenance All locks refreshed
serde (source) dependencies patch 1.0.159 -> 1.0.160
tracing-subscriber (source) dependencies patch 0.3.16 -> 0.3.17
bitflags dependencies minor 2.0.2 -> 2.1.0
clap dependencies patch 4.2.1 -> 4.2.4
naga dependencies minor 0.11.0 -> 0.12.0
naga dev-dependencies minor 0.11.0 -> 0.12.0
naga_oil dependencies minor 0.5.0 -> 0.6.0
png dependencies patch 0.17.7 -> 0.17.8
wgpu (source) dependencies minor 0.15.1 -> 0.16.0
proc-macro2 dependencies patch 1.0.55 -> 1.0.56
quick-xml dependencies patch 0.28.1 -> 0.28.2
regex dependencies minor 1.7.3 -> 1.8.1
syn dependencies patch 2.0.13 -> 2.0.15
webbrowser dependencies patch 0.8.8 -> 0.8.9

🔧 This Pull Request updates lock files to use the latest dependency versions.


Release Notes

serde-rs/serde

v1.0.160

Compare Source

tokio-rs/tracing

v0.3.17: tracing-subscriber 0.3.17

Compare Source

This release of tracing-subscriber fixes a build error when using env-filter
with recent versions of the regex crate. It also introduces several minor API
improvements.

Fixed
  • env-filter: Add "unicode-case" and "unicode-perl" to the regex
    dependency, fixing a build error with recent versions of regex (#​2566)
  • A number of minor documentation typos and other fixes (#​2384, #​2378,
    #​2368, #​2548)
Added
  • filter: Add fmt::Display impl for filter::Targets (#​2343)
  • fmt: Made with_ansi(false) no longer require the "ansi" feature, so that
    ANSI formatting escapes can be disabled without requiring ANSI-specific
    dependencies (#​2532)
Changed
  • fmt: Dim targets in the Compact formatter, matching the default
    formatter (#​2409)

Thanks to @​keepsimple1, @​andrewhalle, @​LeoniePhiline, @​LukeMathWalker,
@​howardjohn, @​daxpedda, and @​dbidwell94 for contributing to this release!

bitflags/bitflags

v2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: bitflags/bitflags@2.0.2...2.1.0

clap-rs/clap

v4.2.4

Compare Source

Documentation
  • Corrected docs for Command::style

v4.2.3

Compare Source

Features
  • Command::styles for theming help/errors (behind unstable-styles)

v4.2.2

Compare Source

Internal
  • Update dependencies
image-rs/image-png

v0.17.8

  • Increased MSRV to 1.57.0.
  • Substantially optimized encoding and decoding:
    • Autovectorize filtering and unfiltering.
    • Make the "fast" compression preset use fdeflate.
    • Switch decompression to always use fdeflate.
    • Updated to miniz_oxide 0.7.
    • Added an option to ignore checksums.
  • Added corpus-bench example which measures the compression ratio and time to
    re-encode and subsequently decode a corpus of images.
  • More fuzz testing.
gfx-rs/wgpu

v0.16.0

Compare Source

Major changes
Shader Changes

type has been replaced with alias to match with upstream WebGPU.

- type MyType = vec4<u32>;
+ alias MyType = vec4<u32>;
TextureFormat info API

The TextureFormat::describe function was removed in favor of separate functions: block_dimensions, is_compressed, is_srgb, required_features, guaranteed_format_features, sample_type and block_size.

- let block_dimensions = format.describe().block_dimensions;
+ let block_dimensions = format.block_dimensions();
- let is_compressed = format.describe().is_compressed();
+ let is_compressed = format.is_compressed();
- let is_srgb = format.describe().srgb;
+ let is_srgb = format.is_srgb();
- let required_features = format.describe().required_features;
+ let required_features = format.required_features();

Additionally guaranteed_format_features now takes a set of features to assume are enabled.

- let guaranteed_format_features = format.describe().guaranteed_format_features;
+ let guaranteed_format_features = format.guaranteed_format_features(device.features());

Additionally sample_type and block_size now take an optional TextureAspect and return Options.

- let sample_type = format.describe().sample_type;
+ let sample_type = format.sample_type(None).expect("combined depth-stencil format requires specifying a TextureAspect");
- let block_size = format.describe().block_size;
+ let block_size = format.block_size(None).expect("combined depth-stencil format requires specifying a TextureAspect");

By @​teoxoy in #​3436

BufferUsages::QUERY_RESOLVE

Buffers used as the destination argument of CommandEncoder::resolve_query_set now have to contain the QUERY_RESOLVE usage instead of the COPY_DST usage.

  let destination = device.create_buffer(&wgpu::BufferDescriptor {
      // ...
-     usage: wgpu::BufferUsages::COPY_DST | wgpu::BufferUsages::MAP_READ,
+     usage: wgpu::BufferUsages::QUERY_RESOLVE | wgpu::BufferUsages::MAP_READ,
      mapped_at_creation: false,
  });
  command_encoder.resolve_query_set(&query_set, query_range, &destination, destination_offset);

By @​JolifantoBambla in #​3489

Renamed features

The following Features have been renamed.

  • SHADER_FLOAT16 -> SHADER_F16
  • SHADER_FLOAT64 -> SHADER_F64
  • SHADER_INT16 -> SHADER_I16
  • TEXTURE_COMPRESSION_ASTC_LDR -> TEXTURE_COMPRESSION_ASTC
  • WRITE_TIMESTAMP_INSIDE_PASSES -> TIMESTAMP_QUERY_INSIDE_PASSES

By @​teoxoy in #​3534

Anisotropic Filtering

Anisotropic filtering has been brought in line with the spec. The anisotropic clamp is now a u16 (was a Option<u8>) which must be at least 1.

If the anisotropy clamp is not 1, all the filters in a sampler must be Linear.

SamplerDescriptor {
-    anisotropic_clamp: None,
+    anisotropic_clamp: 1,
}

By @​cwfitzgerald in #​3610.

TextureFormat Names

Some texture format names have changed to get back in line with the spec.

- TextureFormat::Bc6hRgbSfloat
+ TextureFormat::Bc6hRgbFloat

By @​cwfitzgerald in #​3671.

Misc Breaking Changes
  • Change type of mip_level_count and array_layer_count (members of TextureViewDescriptor and ImageSubresourceRange) from Option<NonZeroU32> to Option<u32>. By @​teoxoy in #​3445
  • Change type of bytes_per_row and rows_per_image (members of ImageDataLayout) from Option<NonZeroU32> to Option<u32>. By @​teoxoy in #​3529
  • On Web, Instance::create_surface_from_canvas() and create_surface_from_offscreen_canvas() now take the canvas by value. By @​daxpedda in #​3690
Changes
General
WebGPU
Vulkan
Bug Fixes
General
WebGPU
  • Fix handling of None values for depth_ops and stencil_ops in RenderPassDescriptor::depth_stencil_attachment. By @​niklaskorz in #​3660
  • Avoid using WasmAbi functions for WebGPU backend. By @​grovesNL in #​3657
DX12
  • Use typeless formats for textures that might be viewed as srgb or non-srgb. By @​teoxoy in #​3555
GLES
  • Set FORCE_POINT_SIZE if it is vertex shader with mesh consist of point list. By @​REASY in 3440
  • Remove unwraps inside surface.configure. By @​cwfitzgerald in #​3585
  • Fix copy_external_image_to_texture, copy_texture_to_texture and copy_buffer_to_texture not taking the specified index into account if the target texture is a cube map, 2D texture array or cube map array. By @​daxpedda #​3641
  • Fix disabling of vertex attributes with non-consecutive locations. By @​Azorlogh in #​3706
Metal
Vulkan
Examples
  • Use BufferUsages::QUERY_RESOLVE instead of BufferUsages::COPY_DST for buffers used in CommandEncoder::resolve_query_set calls in mipmap example. By @​JolifantoBambla in #​3489
dtolnay/proc-macro2

v1.0.56

Compare Source

  • Circumvent clippy::octal_escapes lint inside generated string and byte-string literals (#​363, #​380)
  • Provide RefUnwindSafe impls for compilers older than 1.58 (#​382)
tafia/quick-xml

v0.28.2

Compare Source

New Features
  • #​581: Allow Deserializer to set quick_xml::de::EntityResolver for
    resolving unknown entities that would otherwise cause the parser to return
    an [EscapeError::UnrecognizedSymbol] error.
Misc Changes
  • #​584: Export EscapeError from the crate
  • #​581: Relax requirements for unsescape_* set of functions -- their now use
    FnMut instead of Fn for resolve_entity parameters, like Iterator::map
    from std.
rust-lang/regex

v1.8.1

==================
This is a patch release that fixes a bug where a regex match could be reported
where none was found. Specifically, the bug occurs when a pattern contains some
literal prefixes that could be extracted and an optional word boundary in the
prefix.

Bug fixes:

  • BUG #​981:
    Fix a bug where a word boundary could interact with prefix literal
    optimizations and lead to a false positive match.

v1.8.0

==================
This is a sizeable release that will be soon followed by another sizeable
release. Both of them will combined close over 40 existing issues and PRs.

This first release, despite its size, essentially represent preparatory work
for the second release, which will be even bigger. Namely, this release:

  • Increases the MSRV to Rust 1.60.0, which was released about 1 year ago.
  • Upgrades its dependency on aho-corasick to the recently release 1.0
    version.
  • Upgrades its dependency on regex-syntax to the simultaneously released
    0.7 version. The changes to regex-syntax principally revolve around a
    rewrite of its literal extraction code and a number of simplifications and
    optimizations to its high-level intermediate representation (HIR).

The second release, which will follow ~shortly after the release above, will
contain a soup-to-nuts rewrite of every regex engine. This will be done by
bringing regex-automata into
this repository, and then changing the regex crate to be nothing but an API
shim layer on top of regex-automata's API.

These tandem releases are the culmination of about 3
years of on-and-off work that began in earnest in March
2020
.

Because of the scale of changes involved in these releases, I would love to
hear about your experience. Especially if you notice undocumented changes in
behavior or performance changes (positive or negative).

Most changes in the first release are listed below. For more details, please
see the commit log, which reflects a linear and decently documented history
of all changes.

New features:

  • FEATURE #​501:
    Permit many more characters to be escaped, even if they have no significance.
    More specifically, any ASCII character except for [0-9A-Za-z<>] can now be
    escaped. Also, a new routine, is_escapeable_character, has been added to
    regex-syntax to query whether a character is escapeable or not.
  • FEATURE #​547:
    Add Regex::captures_at. This filles a hole in the API, but doesn't otherwise
    introduce any new expressive power.
  • FEATURE #​595:
    Capture group names are now Unicode-aware. They can now begin with either a _
    or any "alphabetic" codepoint. After the first codepoint, subsequent codepoints
    can be any sequence of alpha-numeric codepoints, along with _, ., [ and
    ]. Note that replacement syntax has not changed.
  • FEATURE #​810:
    Add Match::is_empty and Match::len APIs.
  • FEATURE #​905:
    Add an impl Default for RegexSet, with the default being the empty set.
  • FEATURE #​908:
    A new method, Regex::static_captures_len, has been added which returns the
    number of capture groups in the pattern if and only if every possible match
    always contains the same number of matching groups.
  • FEATURE #​955:
    Named captures can now be written as (?<name>re) in addition to
    (?P<name>re).
  • FEATURE: regex-syntax now supports empty character classes.
  • FEATURE: regex-syntax now has an optional std feature. (This will come
    to regex in the second release.)
  • FEATURE: The Hir type in regex-syntax has had a number of simplifications
    made to it.
  • FEATURE: regex-syntax has support for a new R flag for enabling CRLF
    mode. This will be supported in regex proper in the second release.
  • FEATURE: regex-syntax now has proper support for "regex that never
    matches" via Hir::fail().
  • FEATURE: The hir::literal module of regex-syntax has been completely
    re-worked. It now has more documentation, examples and advice.
  • FEATURE: The allow_invalid_utf8 option in regex-syntax has been renamed
    to utf8, and the meaning of the boolean has been flipped.

Performance improvements:

  • PERF: The upgrade to aho-corasick 1.0 may improve performance in some
    cases. It's difficult to characterize exactly which patterns this might impact,
    but if there are a small number of longish (>= 4 bytes) prefix literals, then
    it might be faster than before.

Bug fixes:

  • BUG #​514:
    Improve Debug impl for Match so that it doesn't show the entire haystack.
  • BUGS #​516,
    #​731:
    Fix a number of issues with printing Hir values as regex patterns.
  • BUG #​610:
    Add explicit example of foo|bar in the regex syntax docs.
  • BUG #​625:
    Clarify that SetMatches::len does not (regretably) refer to the number of
    matches in the set.
  • BUG #​660:
    Clarify "verbose mode" in regex syntax documentation.
  • BUG #​738,
    #​950:
    Fix CaptureLocations::get so that it never panics.
  • BUG #​747:
    Clarify documentation for Regex::shortest_match.
  • BUG #​835:
    Fix \p{Sc} so that it is equivalent to \p{Currency_Symbol}.
  • BUG #​846:
    Add more clarifying documentation to the CompiledTooBig error variant.
  • BUG #​854:
    Clarify that regex::Regex searches as if the haystack is a sequence of
    Unicode scalar values.
  • BUG #​884:
    Replace __Nonexhaustive variants with #[non_exhaustive] attribute.
  • BUG #​893:
    Optimize case folding since it can get quite slow in some pathological cases.
  • BUG #​895:
    Reject (?-u:\W) in regex::Regex APIs.
  • BUG #​942:
    Add a missing void keyword to indicate "no parameters" in C API.
  • BUG #​965:
    Fix \p{Lc} so that it is equivalent to \p{Cased_Letter}.
  • BUG #​975:
    Clarify documentation for \pX syntax.
dtolnay/syn

v2.0.15

Compare Source

  • Ensure Type::Tuple of length 1 prints as a tuple even if trailing comma is not provided in the Punctuated (#​1444, thanks @​Fancyflame)

v2.0.14

Compare Source

amodm/webbrowser-rs

v0.8.9

Compare Source

Added
  • Linux: add support for running under Flatpak sandboxes. See issue #​67 and PR #​70
Fixed
  • Windows: fix a bug where browser command parsing failed. See issue #​68 and PR #​69

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@Dinnerbone
Copy link
Contributor

Working on this

@renovate renovate bot force-pushed the renovate/rust-dependencies branch 2 times, most recently from 92c515f to 515d9d8 Compare April 23, 2023 22:03
@renovate
Copy link
Contributor Author

renovate bot commented Apr 23, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@Dinnerbone
Copy link
Contributor

Naga and wgpu have to be held back until naga_oil catches up, opened https://github.com/robtfm/naga_oil/issues/17 for it

@Dinnerbone Dinnerbone enabled auto-merge (rebase) April 23, 2023 23:01
@Dinnerbone Dinnerbone merged commit d9241c9 into master Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant