katbin icon indicating copy to clipboard operation
katbin copied to clipboard

chore(deps): update dependency rustler to ~> 0.37

Open renovate[bot] opened this issue 2 years ago • 2 comments

This PR contains the following updates:

Package Type Update Change
rustler (source) prod minor ~> 0.25 -> ~> 0.37

Release Notes

rusterlium/rustler (rustler)

v0.37.1

Compare Source

Fixed
  • Fix required Elixir version (>= 1.15) in rustler_mix
  • Fix missing chdir in rustler_mix when compiling in a subdirectory (#​706)

v0.37.0

Compare Source

Added
  • Add staticlib feature to compile without nif_init and add {pkg}_nif_init symbol (#​688)
  • Add IntoIterator to OwnedBinary (#​702, thanks aDifferentJT)
Fixed
  • Set ErlNifEntry.min_erts to a placeholder value (#​703)
Changed
  • Refactor build logic to remove TOML dependency (#​691)
  • Use inline on commonly used functions (#​475, thanks @​joshuataylor)
  • Make EnifAllocator available even if the allocator feature is not enabled

v0.36.2

Compare Source

Added
  • std::hash::Hash implementation for atoms (#​695)
Fixed

v0.36.1

Compare Source

No changes in the Rust code, only rustler_mix adjustments and dependency updates.

Added
  • Support for Erlang-style NIF module names (:module_name) (#​682)
Fixed
  • Retrieve the newest Rustler version without additional dependencies (#​682, fixes #​680)
  • Adjust .gitignore handling to match the new workspace style
Changed
  • Only depend on libloading on non-Windows systems (#​677)

v0.36.0

Compare Source

Added
  • Create a workplace Cargo.toml file with mix rustler.new (#​672)
Fixed
  • Some derive macros failed when only decode was requested (#​676)
Removed
  • The linkage override for macOS is not needed anymore and has been removed from the template (#​672)

v0.35.1

Compare Source

Fixed
  • Fix clippy lints in rustler_codegen (#​671)
  • Adjust Rustler macros to not produce warnings on Elixir 1.18 (#​670)

v0.35.0

Compare Source

Added
  • The resource type name can be overridden with #[register_impl(name = "...")] (#​638)
  • Floats can be decoded from integers (#​641, fixes #​603)
  • Resource types can implement and use dynamic calls on NIF version 2.16 (#​635)
  • Encoder and Decoder implementations for Box<T> (#​644)
  • Reference type and env.make_ref() function (#​657)
Fixed
  • The optional register attribute on #[register_impl] works as advertised now (#​638)
  • API functions for Windows are correctly assigned for NIF version 2.15 and above (#​635)
  • Panics in encoding the result of NIF function are caught (#​656)
  • Reverted change to "recompile if the NIF library is changed/deleted" (#​654, fixes #​651)
Changed
  • The special ok/error handling for atoms in serde is now restricted to variant names (#​639)
  • rustler_sys as a separate library is merged into rustler::sys and will not be released independently of rustler anymore (#​653)

v0.34.0

Compare Source

Added
  • Resource type registration has been refactored to eventually remove the rustler::resource! macro (#​617, necessary due to a pending deprecation of a Rust feature, #​606)
  • Resources can (and should) now explicitly implement the new Resource trait and provide a custom destructor function that is run before drop and receives an Env parameter (#​617)
  • Process monitoring via resources can now be used on resource types that implement the Resource::down callback (#​617)
  • Resource implementation and registration helper attribute (#​627)
Fixed
  • Unwinding in the on_load callback is now caught and leads to a panic (#​617)
Changed
  • NIF implementations are now discovered automatically and the respective argument of rustler::init! is ignored (#​613)
  • The derive feature flag is now ignored and its functionality unconditionally enabled (#​621)

v0.33.0

Compare Source

Added
  • Optional support for using Erlang's allocator as Rust's global allocator (#​580).
  • Comparison functions for PIDs (#​611).
  • Conversions from and to Rust paths (PathBuf and Path) (#​608).
Fixed
Changed
  • Drop usage of lazy_static in favour of std::sync::OnceLock. This change raises the minimal supported Rust version to 1.70.
  • Drop obsolete and incorrect Rustler.nif_versions function.
Removed
  • The old macros rustler_export_nifs!, rustler::rustler_atoms! and resource_struct_init! have been removed (#​604). They had been deprecated since version 0.22.0.

v0.32.1

Compare Source

Added
  • Map iterators are now DoubleEndedIterators (#​598), thus allowing being iterated in reverse using .rev()
  • Env::is_process_alive and LocalPid::is_alive (#​599)
  • Encoding and decoding of 128 bit integers (#​600)
  • Optional codec for num_bigint::BigInt using the big_integer feature (#​601)
  • Add experimental serde support derived from serde_rustler
Changed
  • Adjust C char types to use the proper FFI type (#​592)
  • Allow arbitrary (ASCII) NIF function names (#​593, idea and initial implementation by @​KoviRobi)
Removed
  • rustler_bigint is replaced by a feature flag and the wrapper is not necessary anymore (#​601)

v0.31.0

Compare Source

Added
  • Support for generic types in derive macros (#​574)
  • New is_float and is_integer methods on terms (#​581)
Fixed
  • Finalized making :rustler a compile-time-only dependency (#​570)
  • Make get_type work as documented for 0.30 (#​581)
  • Tests on ARM64 (#​584)
  • Error messages in codegen (#​579)
Changed
  • Use impl Encoder on more functions (in particular on send) (#​572)
  • The generated atom modules for derived structs are now called rustler_atoms_{struct_name_in_snakecase} to silence warnings (#​585)
Removed
  • Support for initmacro in rustler-sys (v2.3.2, #​589)

v0.30.0

Compare Source

Added
  • Return Result<(), SendError> from all send functions (#​239, #​563)
Changed
  • Deprecate :rustler_crates project configuration
  • Mark use Rustler module configuration as compile-time
  • Bump Rust edition to 2021
  • Make :rustler a compile-time-only dependency (#​516, #​559)
  • Use enif_term_type to implement Term::get_type (#​538). Please check the UPGRADE documentation for necessary code changes.
  • Raise default NIF version to 2.15
Removed
  • Support for RUSTLER_NIF_VERSION, NIF version requirements have to be set via features now

v0.29.1

Compare Source

Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

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


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

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Feb 26 '23 15:02 renovate[bot]

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: install-tool elixir v1.16.2

renovate[bot] avatar Feb 26 '23 15:02 renovate[bot]

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: install-tool elixir v1.19.1

renovate[bot] avatar May 29 '24 15:05 renovate[bot]