Skip to content

chore(deps): update rust dependencies#496

Merged
fabled merged 2 commits intomainfrom
renovate/rust-dependencies
Jun 3, 2025
Merged

chore(deps): update rust dependencies#496
fabled merged 2 commits intomainfrom
renovate/rust-dependencies

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 3, 2025

This PR contains the following updates:

Package Type Update Change
base64 workspace.dependencies patch 0.22.1 -> 0.22.1
flate2 workspace.dependencies minor 1.0.30 -> 1.1.1
gimli workspace.dependencies minor 0.30.0 -> 0.31.0
lru workspace.dependencies minor 0.12.0 -> 0.14.0
memmap2 workspace.dependencies patch 0.9.5 -> 0.9.5
object workspace.dependencies minor 0.36.0 -> 0.37.0
prost workspace.dependencies minor 0.12.1 -> 0.13.0
prost-build workspace.dependencies minor 0.12.1 -> 0.13.0
smallvec workspace.dependencies minor 1.13.2 -> 1.15.0
tempfile (source) workspace.dependencies minor 3.10.1 -> 3.20.0
zstd workspace.dependencies patch 0.13.3 -> 0.13.3

Release Notes

rust-lang/flate2-rs (flate2)

v1.1.1

Compare Source

This release should be smaller and thus faster to download.
Additionally, when using the zlib-rs backend, duplicate symbol issues shouldn't occur anymore.

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.1.0...1.1.1

v1.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.35...1.1.0

v1.0.35: - security update to zlib-rs

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.34...1.0.35

v1.0.34

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.33...1.0.34

v1.0.33: - fix minimal manifest versions

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.32...1.0.33

v1.0.32: - turn panic into error

Compare Source

What's Changed

Fix
Other

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.31...1.0.32

v1.0.31

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.30...1.0.31

gimli-rs/gimli (gimli)

v0.31.1

Compare Source

Released 2024/10/04.

Changed
  • Changed read::Evaluation::evaluate to validate DW_OP_deref_size.
    #​739

  • Changed write::LineProgram to allow use of file index 0 for DWARF version 5.
    #​740

  • Improved the workaround for reading zero length entries in .debug_frame.
    #​741

  • Implemented Default for read::DwarfSections and read::DwarfPackageSections.
    #​742

  • Changed read::ArangeEntryIter to handle tombstones in .debug_aranges.
    #​743

  • Improved handling handling of 0 for tombstones in DW_LNE_set_address
    and address pairs in ranges and locations.
    #​750

  • Changed the read::ArrayLike trait implementation to use const generics.
    #​752

Added
  • Added MIPS::HI and MIPS::LO.
    #​749

v0.31.0

Compare Source

Released 2024/07/16.

Breaking changes
  • Deleted support for segment selectors.
    #​720

  • Added read::FileEntry::source and deleted Copy implementation.
    #​728

  • Changed read::LineRow::execute to return a Result.
    #​731

  • Deleted Display implementation for read::LineInstruction.
    #​734

  • Changed read::Error to be non-exhaustive.

Changed
  • Fixed Hash implementation for read::EndianReader.
    #​723

  • Changed read::EhFrameHdr::parse to validate the FDE count encoding.
    #​725

  • Changed address overflow to be an error for read::UnwindTableRow,
    read::LineRow, and read::ArangeEntry.
    #​730
    #​731
    #​732

  • Changed wrapping addition for 32-bit addresses to wrap at 32 bits instead of
    at 64 bits.
    #​733

  • Added earlier validation of address sizes.
    #​733

Added
  • Added read::IndexSectionId::section_id.
    #​719

  • Added read::FrameDescriptionEntry::end_address.
    #​727

  • Added support for DW_LNCT_LLVM_source.
    #​728


jeromefroe/lru-rs (lru)

v0.14.0

Compare Source

  • Use NonZeroUsize::MAX instead of unwrap(), and update MSRV to 1.70.0.

v0.13.0

Compare Source

  • Add peek_mru and pop_mru methods, upgrade dependency on hashbrown to 0.15.2, and update MSRV to 1.65.0.

v0.12.5

Compare Source

  • Upgrade hashbrown dependency to 0.15.

v0.12.4

Compare Source

  • Add methods that take a reference to the key that should be inserted.
gimli-rs/object (object)

v0.37.0

Compare Source

Released 2025/06/02.

Breaking changes
  • Changed dyld cache definitions and API to support iterating mapping and slide information.
    #​738
    #​753
    #​754
    #​775

  • Removed elf::R_RISCV_GNU_VTINHERIT and elf::R_RISCV_GNU_VTENTRY.
    #​767

  • Changed the type of pe::IMAGE_WEAK_EXTERN_* constants.
    #​770

Added
  • Added support for generating ARM_RELOC_VANILLA in write::Object.
    #​757

  • Added size_hint for read::archive::ArchiveSymbolIterator.
    #​759

  • Added Architecture::SuperH.
    #​762

  • Added Architecture::LoongArch32.
    #​765

  • Added support for Wasm object files to read::WasmFile.
    #​766

  • Added elf::R_RISCV_TLSDESC and elf::R_RISCV_GOT32_PCREL.
    #​767
    #​768

  • Added read::pe::SymbolTable::aux_weak_external and read::pe::SymbolTable::has_aux_weak_external.
    #​770

  • Added ELF relocations for LoongArch ABI v2.30.
    #​773

Changed
  • Changed ReadRef::read_bytes_at to allow zero size reads at any offset.
    This allows reading of empty sections in stripped ELF files.
    #​758

  • Changed read::MachOFile::object_map to include static symbols.
    #​764

  • Fixed read::pe::SymbolTable::has_aux_function to exclude weak externals.
    #​772

  • Updated wasmparser and ruzstd dependencies.


tokio-rs/prost (prost)

v0.13.5

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features

  • prost-types: Derive Arbitrary (#​1188)

Documentation

  • Use intra doc links instead of HTML tags (#​1219)

Dependencies

  • Update pulldown-cmark-to-cmark requirement from >=16, <=19 to >=16, <=20 (#​1206)
  • Update itertools requirement from >=0.10, <=0.13 to >=0.10, <=0.14 (#​1222)
  • Update petgraph requirement to include 0.7 (#​1226)
  • Update rand requirement from 0.8 to 0.9 (#​1233)
  • Bump clippy to 1.83 (#​1220)
  • Update flake.lock (#​1216)

Styling

Testing

  • default_enum_value: Move tests to separate module (#​1198)
  • nesting: Move tests to separate module (#​1218)
  • recursive_oneof: Move tests to separate module (#​1225)
  • boxed_field: Box an oneof field (#​1235)
  • groups: Move tests to separate module (#​1234)
  • default_string_escape: Move tests to separate module (#​1239)
  • Move DecodeError tests closer to the implementation (#​1227)

v0.13.4

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features

  • Impl Name for Protobuf well-known wrapper types (#​1174)

Performance

  • NonZeroU64 to optimize encoded_len_varint (#​1192)

Dependencies

  • Remove unused bytes dependency from prost-build (#​1169)
  • Update pulldown-cmark-to-cmark requirement from >=16, <=17 to >=16, <=18 (#​1173)
  • Update pulldown-cmark-to-cmark requirement from >=16, <=18 to >=16, <=19 (#​1195)
  • Update protobuf to v25.3 (#​1165)
  • Update protobuf to v25.4 (#​1176)

Styling

  • Remove explicit lifetimes (#​1180)
  • Remove unnecessary empty line after document (#​1181)

Testing

  • (boxed_field) Confirm Foo::bar is boxed (#​1168)
  • Move build.rs to standard location (#​1167)
  • (custom_debug) Merge skip_debug into custom_debug (#​1178)
  • Rename invalid_doctest to disable_comments (#​1183)
  • (custom_attributes) Move module to separate file (#​1187)

Build

  • Bump clippy version to 1.82 (#​1182)
  • Restrict permissions of GITHUB_TOKEN (#​1189)

v0.13.3

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features
  • (prost-types) Add normalized functions (#​1158)
Bug Fixes
  • (prost-build) Remove derived(Copy) on boxed fields (#​1157)
Documentation
  • (prost-types) Add description of using Any (#​1141)
  • (prost-build) Use cargo add in example (#​1149)
Styling
  • Use Path::display() when printing a path (#​1150)
  • MessageGraph::new() can't actually fail (#​1151)
  • (generated-code) Use Self in as_str_name (#​1154)
Testing
  • Actually test skip_debug for prost::Oneof (#​1148)
  • (prost-build) Validate error texts (#​1152)
  • (prost-build) Fix error texts (#​1156)
Build
  • Increase MSRV to 1.71.1 (#​1135)
  • (deps) Update pulldown-cmark to 0.12 and pulldown-cmark-to-cmark to 16 (#​1144)
  • (protobuf) Compile and install protoc on Windows (#​1145)
  • (protobuf) Use same protoc from same repo as .proto-files (#​1136)
  • (deps) Update pulldown-cmark-to-cmark from 16 to 17 (#​1155)
  • Unify assert on fixtures (#​1142)

v0.13.2

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features

  • prost-build: Add protoc executable path to Config (#​1126)
  • prost-build: Extract file descriptor loading from compile_protos() (#​1067)

Bug Fixes

  • prost-types: Fix date-time parsing (#​1096)
  • prost-types: '+' is not a numeric digit (#​1104)
  • prost-types: Converting DateTime to Timestamp is fallible (#​1095)
  • prost-types: Parse timestamp with long second fraction (#​1106)
  • prost-types: Format negative fractional duration (#​1110)
  • prost-types: Allow unknown local time offset (#​1109)

Styling

  • Remove use of legacy numeric constants (#​1089)
  • Move encoding functions into separate modules (#​1111)
  • Remove needless borrow (#​1122)

Testing

  • Add tests for public interface of DecodeError (#​1120)
  • Add parse_date fuzzing target (#​1127)
  • Fix build without std (#​1134)
  • Change some proptest to kani proofs (#​1133)
  • Add parse_duration fuzzing target (#​1129)
  • fuzz: Fix building of fuzzing targets (#​1107)
  • fuzz: Add fuzz targets to workspace (#​1117)

Miscellaneous Tasks

  • Move old protobuf benchmark into prost (#​1100)
  • Remove allow clippy::derive_partial_eq_without_eq (#​1115)
  • Run cargo test without all-targets (#​1118)
  • dependabot: Add github actions (#​1121)
  • Update to cargo clippy version 1.80 (#​1128)

Build

  • Use proc-macro in Cargo.toml (#​1102)
  • Ignore missing features in tests crates (#​1101)
  • Use separated build directory for protobuf (#​1103)
  • protobuf: Don't install unused test proto (#​1116)
  • protobuf: Use crate cmake (#​1137)
  • deps: Update devcontainer to Debian Bookworm release (#​1114)
  • deps: Bump actions/upload-artifact from 3 to 4 (#​1123)
  • deps: Bump baptiste0928/cargo-install from 2 to 3 (#​1124)
  • deps: bump model-checking/kani-github-action from 0.32 to 1.1 (#​1125)

v0.13.1

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Bug fixes

  • Enum variant named Error causes ambiguous item (#​1098)

v0.13.0

Compare Source

note: this version was yanked in favor of 0.13.1

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This major update brings new features and fixes:

Breaking changes

  • derive Copy trait for messages where possible (#​950)

    prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.

  • Change generated functions signatures to remove type parameters (#​1045)

    The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.

  • Lightweight error value in TryFrom for enums (#​1010)

    When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.

Features

  • fix: Only touch include file if contents is changed (#​1058)

    Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.

Dependencies

  • update env_logger requirement from 0.10 to 0.11 (#​1074)
  • update criterion requirement from 0.4 to 0.5 (#​1071)
  • Remove unused libz-sys (#​1077)
  • build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0.13 (#​1070)

Documentation

  • better checking of tag duplicates, avoid discarding invalid variant errs (#​951)
  • docs: Fix broken link warnings (#​1056)
  • Add missing LICENSE symlink (#​1086)

Internal

  • workspace package metadata (#​1036)
  • fix: Build error due to merge conflict (#​1068)
  • build: Fix release scripts (#​1055)
  • chore: Add ci to check MSRV (#​1057)
  • ci: Add all tests pass job (#​1069)
  • ci: Add Dependabot (#​957)
  • ci: Ensure both README are the same and prost version is correct (#​1078)
  • ci: Set rust version of clippy job to a fixed version (#​1090)
servo/rust-smallvec (smallvec)

v1.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: servo/rust-smallvec@v1.14.0...v1.15.0

v1.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: servo/rust-smallvec@v1.13.2...v1.14.0

Stebalien/tempfile (tempfile)

v3.20.0

Compare Source

This release mostly unifies the behavior/capabilities around "keeping" temporary files:

  • Rename Builder::keep(bool) (via deprecation) to Builder::disable_cleanup(bool) to make it clear that behaves differently from NamedTempFile::keep(). The former disables automatic cleanup while the latter consumes the NamedTempFile object entirely and unsets the "temporary file" attribute (on Windows).
  • Rename TempDir::into_path (via deprecation) to TempDir::keep to mirror NamedTempFile::keep.
  • Add TempDir::disable_cleanup, NamedTempFile::disable_cleanup, and TempPath::disable_cleanup making it possible to disable automatic cleanup in-place after creating a temporary file/directory (equivalent to calling Builder::disable_cleanup before creating the file/directory).

Additionally, it adds a few spooled temporary file features:

  • Add SpooledTempFile::into_file for turning a SpooledTempFile into a regular unnamed temporary file, writing it to the backing storage ("rolling" it) if it was still stored in-memory.
  • Add spooled_tempfile_in and SpooledTempFile::new_in methods for creating spooled temporary files in a specific directory. This makes it possible to choose the backing device for your spooled temporary file which is rather important on Linux where the default temporary directory is likely backed by memory (defeating the entire point of having a spooled temporary file).

Finally, this release improves documentation, especially the top-level documentation explaining which temporary file type to use.

BREAKING for those with deny(warnings):

  • Builder::keep deprecated in favor of Builder::disable_cleanup.
  • TempDir::into_path is deprecated in favor of TempDir::keep.

BREAKING:

v3.19.1

Compare Source

  • Don't unlink temporary files immediately on Windows (fixes #​339). Unfortunately, this seemed to corrupt the file object (possibly a Windows kernel bug) in rare cases and isn't strictly speaking necessary.

v3.19.0

Compare Source

  • Remove direct dependency on cfg-if. It's still in the tree, but we didn't really need to use it in this crate.
  • Add an unstable feature (unstable-windows-keep-open-tempfile) to test a potential fix to #​339.

v3.18.0

Compare Source

  • Update rustix to 1.0.0.
  • Make NamedTempFile::persist_noclobber atomic on Apple operating systems. It's now atomic on MacOS, Windows, and Linux (depending on the OS version and filesystem used).

v3.17.1

Compare Source

  • Fix build with windows-sys 0.52. Unfortunately, we have no CI for older windows-sys versions at the moment...

v3.17.0

Compare Source

  • Make sure to use absolute paths in when creating unnamed temporary files (avoids a small race in the "immediate unlink" logic) and in Builder::make_in (when creating temporary files of arbitrary types).
  • Prevent a theoretical crash that could (maybe) happen when a temporary file is created from a drop function run in a TLS destructor. Nobody has actually reported a case of this happening in practice and I have been unable to create this scenario in a test.
  • When reseeding with getrandom, use platform (e.g., CPU) specific randomness sources where possible.
  • Clarify some documentation.
  • Unlink unnamed temporary files on windows immediately when possible instead of waiting for the handle to be closed. We open files with "Unix" semantics, so this is generally possible.

v3.16.0

Compare Source

  • Update getrandom to 0.3.0 (thanks to @​paolobarbolini).
  • Allow windows-sys versions 0.59.x in addition to 0.59.0 (thanks @​ErichDonGubler).
  • Improved security documentation (thanks to @​n0toose for collaborating with me on this).

v3.15.0

Compare Source

Re-seed the per-thread RNG from system randomness when we repeatedly fail to create temporary files (#​314). This resolves a potential DoS vector (#​178) while avoiding getrandom in the common case where it's necessary. The feature is optional but enabled by default via the getrandom feature.

For libc-free builds, you'll either need to disable this feature or opt-in to a different getrandom backend.

v3.14.0

Compare Source

  • Make the wasip2 target work (requires tempfile's "nightly" feature to be enabled). #​305.
  • Allow older windows-sys versions #​304.

v3.13.0

Compare Source

  • Add with_suffix constructors for easily creating new temporary files with a specific suffix (e.g., a specific file extension). Thanks to @​Borgerr.
  • Update dependencies (fastrand & rustix).

v3.12.0

Compare Source

  • Add a keep(keep: bool) function to builder that suppresses delete-on-drop behavior (thanks to @​RalfJung).
  • Update windows-sys from 0.52 to 0.59.

v3.11.0

Compare Source

  • Add the ability to override the default temporary directory. This API shouldn't be used in general, but there are some cases where it's unavoidable.

Configuration

📅 Schedule: Branch creation - "before 8am every weekday" (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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from a team as code owners June 3, 2025 01:27
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 3, 2025
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Copy link
Copy Markdown
Member

@florianl florianl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Rust dependencies changed, the binary blobs changed as well and so I fixed CI by pushing the new Rust binary blobs.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 3, 2025

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.

@fabled fabled merged commit cdcdbac into main Jun 3, 2025
25 checks passed
@fabled fabled deleted the renovate/rust-dependencies branch June 3, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants