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

fix(deps): update all non-major dependencies #615

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mewmba
Copy link
Contributor

@mewmba mewmba commented Sep 1, 2023

This PR contains the following updates:

Package Type Update Change
base64 dependencies minor 0.13.0 -> 0.21.3
blake3 dependencies minor 1.3.1 -> 1.4.1
bs58 dependencies minor 0.4 -> 0.5
cbindgen build-dependencies minor 0.24.3 -> 0.25.0
did-key dependencies minor 0.1 -> 0.2
getrandom dependencies patch 0.2.7 -> 0.2.10
prost-build build-dependencies patch 0.11.1 -> 0.11.9
prost-types dependencies patch 0.11.1 -> 0.11.9
sha2 dependencies patch 0.10.2 -> 0.10.7
subtle (source) dependencies minor 2.4 -> 2.5
wasm-bindgen-test dev-dependencies patch 0.3.32 -> 0.3.37

Release Notes

marshallpierce/rust-base64 (base64)

v0.21.3

Compare Source

  • Implement source instead of cause on Error types
  • Roll back MSRV to 1.48.0 so Debian can continue to live in a time warp
  • Slightly faster chunked encoding for short inputs
  • Decrease binary size

v0.21.2

Compare Source

  • Rollback MSRV to 1.57.0 -- only dev dependencies need 1.60, not the main code

v0.21.1

Compare Source

  • Remove the possibility of panicking during decoded length calculations
  • DecoderReader no longer sometimes erroneously ignores padding #​226

Breaking changes

  • Engine.internal_decode return type changed
  • Update MSRV to 1.60.0

v0.21.0

Compare Source

Migration

Functions
< 0.20 function 0.21 equivalent
encode() engine::general_purpose::STANDARD.encode() or prelude::BASE64_STANDARD.encode()
encode_config() engine.encode()
encode_config_buf() engine.encode_string()
encode_config_slice() engine.encode_slice()
decode() engine::general_purpose::STANDARD.decode() or prelude::BASE64_STANDARD.decode()
decode_config() engine.decode()
decode_config_buf() engine.decode_vec()
decode_config_slice() engine.decode_slice()

The short-lived 0.20 functions were the 0.13 functions with config replaced with engine.

Padding

If applicable, use the preset engines engine::STANDARD, engine::STANDARD_NO_PAD, engine::URL_SAFE,
or engine::URL_SAFE_NO_PAD.
The NO_PAD ones require that padding is absent when decoding, and the others require that
canonical padding is present .

If you need the < 0.20 behavior that did not care about padding, or want to recreate < 0.20.0's predefined Configs
precisely, see the following table.

0.13.1 Config 0.20.0+ alphabet encode_padding decode_padding_mode
STANDARD STANDARD true Indifferent
STANDARD_NO_PAD STANDARD false Indifferent
URL_SAFE URL_SAFE true Indifferent
URL_SAFE_NO_PAD URL_SAFE false Indifferent

v0.20.0

Compare Source

Breaking changes

  • Update MSRV to 1.57.0
  • Decoding can now either ignore padding, require correct padding, or require no padding. The default is to require
    correct padding.
    • The NO_PAD config now requires that padding be absent when decoding.

0.20.0-alpha.1

Breaking changes
  • Extended the Config concept into the Engine abstraction, allowing the user to pick different encoding / decoding
    implementations.
    • What was formerly the only algorithm is now the FastPortable engine, so named because it's portable (works on
      any CPU) and relatively fast.
    • This opens the door to a portable constant-time
      implementation (#​153,
      presumably ConstantTimePortable?) for security-sensitive applications that need side-channel resistance, and
      CPU-specific SIMD implementations for more speed.
    • Standard base64 per the RFC is available via DEFAULT_ENGINE. To use different alphabets or other settings (
      padding, etc), create your own engine instance.
  • CharacterSet is now Alphabet (per the RFC), and allows creating custom alphabets. The corresponding tables that
    were previously code-generated are now built dynamically.
  • Since there are already multiple breaking changes, various functions are renamed to be more consistent and
    discoverable.
  • MSRV is now 1.47.0 to allow various things to use const fn.
  • DecoderReader now owns its inner reader, and can expose it via into_inner(). For symmetry, EncoderWriter can do
    the same with its writer.
  • encoded_len is now public so you can size encode buffers precisely.

v0.13.1

Compare Source

  • More precise decode buffer sizing, avoiding unnecessary allocation in decode_config.
BLAKE3-team/BLAKE3 (blake3)

v1.4.1

Compare Source

version 1.4.1

Changes since 1.4.0:

  • Improved performance in the ARM NEON implementation for both C and
    Rust callers. This affects AArch64 targets by default and ARMv7
    targets that explicitly enable (and support) NEON. The size of the
    improvement depends on the microarchitecture, but I've benchmarked
    ~1.3x on a Cortex-A53 and ~1.2x on an Apple M1. Contributed by
    @​sdlyyxy in #​319.
  • The MSRV is now 1.66.1 for both the blake3 crate and b3sum.

v1.4.0

Compare Source

version 1.4.0

Changes since 1.3.3:

  • The C implementation provides a CMakeLists.txt for callers who build
    with CMake. The CMake build is not yet stable, and callers should
    expect breaking changes in patch version updates. The "by hand" build
    will always continue to be supported and documented.
  • b3sum supports the --seek flag, to set the starting position in
    the output stream.
  • b3sum --check prints a summary of errors to stderr.
  • Hash::as_bytes is const.
  • Hash supports from_bytes, which is const.

v1.3.3

Compare Source

version 1.3.3

Changes since 1.3.2:

v1.3.2

Compare Source

version 1.3.2:

Changes since 1.3.1:

  • Dependency updates only. This includes updating Clap to v4, which
    changes the format of the b3sum --help output. The new MSRV is
    1.59.0 for blake3 and 1.60.0 for b3sum. Note that this project
    doesn't have any particular MSRV policy, and we don't consider MSRV
    bumps to be breaking changes.
Nullus157/bs58-rs (bs58)

v0.5.0

Compare Source

  • Breaking change: make encoding onto resizable buffers not clear them, instead appending onto any existing data
  • Breaking change: rename into methods to onto to allow for implementing Into in the future (or a similar inherent method)
  • Add new cb58 feature to support injecting and verifying that checksum (by @​Zondax)
  • Update sha2 to 0.10 (by @​madninja)
  • Tighten max-encoded length estimation to reduce overallocation of resizable buffers (by @​mina86)
  • Add optional support for encoding/decoding to smallvec::SmallVec (by @​mina86)
  • Add optional support for encoding/decoding to tinyvec's various types
eqrion/cbindgen (cbindgen)

v0.25.0

Compare Source

  • Re-release of yanked 0.24.6 as a major release
    * Update MSRV to 1.57
    * Support variadic arguments (...) (#​805)
    * Add --depfile option (#​820)
    * Breaking changes: The Config struct now has a private member.

v0.24.6

Compare Source

  • Update MSRV to 1.57
    * Support variadic arguments (...) (#​805)
    * Add --depfile option (#​820)

v0.24.5

Compare Source

  • Don't enforce tempfile version.

v0.24.4

Compare Source

decentralized-identity/did-key.rs (did-key)

v0.1.1

Compare Source

rust-random/getrandom (getrandom)

v0.2.10

Compare Source

Added
  • Support for PS Vita (armv7-sony-vita-newlibeabihf) #​359
Changed
  • Use getentropy from libc on Emscripten targets #​362

v0.2.9

Compare Source

Added
  • AIX support #​282
  • getrandom_uninit function #​291
  • wasm64-unknown-unknown support #​303
  • tvOS and watchOS support #​317
  • QNX/nto support #​325
  • Support for getrandom syscall on NetBSD ≥ 10.0 #​331
  • RtlGenRandom fallback for non-UWP Windows #​337
Breaking Changes
Fixed
  • Solaris/OpenBSD/Dragonfly build #​301
Changed
  • Update MSRV to 1.36 #​291
  • Use getentropy on Emscripten #​307
  • Solaris: consistantly use /dev/random source #​310
  • Move 3ds selection above rdrand/js/custom fallback #​312
  • Remove buffer zeroing from Node.js implementation #​315
  • Use open instead of open64 #​326
  • Remove #cfg from bsd_arandom.rs #​332
  • Hermit: use sys_read_entropy syscall #​333
  • Eliminate potential panic in sys_fill_exact #​334
  • rdrand: Remove checking for 0 and !0 and instead check CPU family and do a self-test #​335
  • Move __getrandom_custom definition into a const block #​344
  • Switch the custom backend to Rust ABI #​347

v0.2.8

Compare Source

Changed
Added
  • Added benchmarks to track buffer initialization cost #​272
Fixed
  • Use $crate in register_custom_getrandom! #​270
Documentation
  • Add information about enabling "js" feature #​280
  • Fix link to wasm-bindgen #​278
  • Document the varied implementations for underlying randomness sources #​276
tokio-rs/prost (prost-build)

v0.11.9

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Support boxing fields via Config::boxed (#​802)

v0.11.8

Compare Source

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

This patch updates brings a few new features and fixes:

  • types: Fix unintentional change in compiler module visibility #​824

prost-types 0.11.7 was yanked due to the above unintentional semver breakage.

v0.11.7

Compare Source

v0.11.6

Compare Source

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

This patch updates brings a few new features and fixes:

v0.11.5

Compare Source

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

This patch updates brings a few new features and fixes:

v0.11.4

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Add clippy allow lint to all code generated prost structs

v0.11.3

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Use log to print error logs.
  • build: Remove accidentally included prints.
  • build: Improve debian error message hint.

v0.11.2

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Improve protoc sourcing instructions in error messages.
  • build: Add Clone to Service types.
  • build: Sort modules to produce deterministic include files.
  • core: Tuple struct support.
  • build: Allow generated code derive path's to be changed.
  • build: Allow changing prost crate path.
  • build: Add code formatting support.
RustCrypto/hashes (sha2)

v0.10.7

Compare Source

v0.10.6

Compare Source

v0.10.5

Compare Source

v0.10.4

Compare Source

v0.10.3

Compare Source

dalek-cryptography/subtle (subtle)

v2.5.0

Compare Source

  • Add constant-timedness note to the documentation for CtOption::unwrap_or_else.
  • Add CtOption::expect.
  • Add ConstantTimeEq::ct_ne with default implementation.
  • Add new core_hint_black_box feature from Diane Hosfelt and Amber
    Sprenkels which utilises the original black_box functionality from
    when subtle was first written, which has now found it's way into the
    Rust standard library.
  • Add new const-generics feature from @​survived which adds support
    for subtle traits for generic arrays [T; N].
  • Add new feature for supporting core::cmp::Ordering for types which
    implement subtle traits, patch from @​tarcieri.
  • Update rand dependency to 0.8.

v2.4.1

Compare Source

  • Fix a bug in how the README was included in the documentation builds
    which caused nightly builds to break.

Configuration

📅 Schedule: Branch creation - "* 12 1 3,9 *" (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 Renovate Bot.

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.

2 participants