Skip to content

cargo: Update Rust crate magnus to 0.7

This MR contains the following updates:

Package Type Update Change
magnus dev-dependencies minor 0.6 -> 0.7
magnus dependencies minor 0.6 -> 0.7

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

matsadler/magnus (magnus)

v0.7.1

Compare Source

Fixed
  • Building docs with Ruby 3.0

v0.7.0

Compare Source

Added
  • Thread, Ruby::thread_create/thread_create_from_fn and other thread APIs.
  • Mutex, Ruby::mutex_new and other mutex APIs.
  • Fiber, Ruby::fiber_new/fiber_new_from_fn and other fiber APIs (requires Ruby >= 3.1).
  • Ruby::ary_try_from_iter is an efficient way to create a Ruby array from a fallible Rust iterator.
  • Ruby::hash_from_iter and Ruby::hash_try_from_iter.
  • RFile implements AsRawFd.
  • TypedArray<T>, a Ruby Array that may only contain elements of type T. On creation the Array is hidden from Ruby, and must be consumed to pass it to Ruby (where it reverts to a regular untyped Array). It is then inaccessible to Rust.
  • Implement IntoIterator for RArray.
  • Implement PartialEq, PartialOrd, Add, Sub, Mul, and Div for Integer.
  • Time with automatic conversion to/from std::time::SystemTime.
  • Ruby::alias_variable.
  • Ruby::waitpid.
  • RHash::lookup2.
  • Ruby::define_data new for Ruby 3.3.
  • IntoError trait for conversion to Error, plus impl ReturnValue for Result<T, E> where E: IntoError to allow returning custom error types to Ruby.
Changed
  • Closures/Functions used as Ruby blocks/procs take an additional first argument of &Ruby.
Deprecated
  • RArray::each. Please use ary.into_iter() or ary.enumeratorize("each", ()) instead.
Removed
  • deprecated-send-sync-value feature.
  • ruby-static feature. Instead enable the feature for rb-sys in your Cargo.toml like so: rb-sys = { version = "*", features = ["ruby-static"] }
  • typed_data::Obj::get.
  • The QTRUE, QFALSE, and QNIL constants.
  • Class::undef_alloc_func.
  • Value::try_convert.
  • Binding.
  • gc::{mark, mark_slice, mark_movable, location}.
  • RStruct::as_slice.
  • Exception::backtrace.
Fixed
Security

v0.6.4

Compare Source

Fixed
  • Potential deadlock in Lazy when accessed for the first time from multiple threads simultaneously.

v0.6.3

Compare Source

Fixed
  • Missing IntoValueFromNative implementation for Vec and HashMap.

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


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

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports