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
Fixed
- Building docs with Ruby 3.0
v0.7.0
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
andRuby::hash_try_from_iter
. -
RFile
implementsAsRawFd
. -
TypedArray<T>
, a Ruby Array that may only contain elements of typeT
. 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
forRArray
. - Implement
PartialEq
,PartialOrd
,Add
,Sub
,Mul
, andDiv
forInteger
. -
Time
with automatic conversion to/fromstd::time::SystemTime
. -
Ruby::alias_variable
. -
Ruby::waitpid
. -
RHash::lookup2
. -
Ruby::define_data
new for Ruby 3.3. -
IntoError
trait for conversion toError
, plusimpl 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 useary.into_iter()
orary.enumeratorize("each", ())
instead.
Removed
-
deprecated-send-sync-value
feature. -
ruby-static
feature. Instead enable the feature forrb-sys
in your Cargo.toml like so:rb-sys = { version = "*", features = ["ruby-static"] }
-
typed_data::Obj::get
. - The
QTRUE
,QFALSE
, andQNIL
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
Fixed
- Potential deadlock in
Lazy
when accessed for the first time from multiple threads simultaneously.
v0.6.3
Fixed
- Missing
IntoValueFromNative
implementation forVec
andHashMap
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by GitLab Dependency Bot