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

Update Rust crate rhai to v1.21.0 #430

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

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Dec 13, 2024

This PR contains the following updates:

Package Type Update Change
rhai (source) workspace.dependencies minor 1.20.0 -> 1.21.0

Release Notes

rhaiscript/rhai (rhai)

v1.21.0

Compare Source

==============

Bug fixes

  • Fixed bug in raw strings (thanks @benatkin 944).
  • get_fn_metadata_list function is marked volatile.
  • no-std plus sync should now build correctly (thanks stargazing-dino 947).

New Features

  • It is possible to create a function pointer (FnPtr) which binds to a native Rust function or closure via FnPtr::from_dn and FnPtr::from_dyn_fn. When called in script, the embedded function will be called (thanks @makspll 952).

Enhancements

  • The methods call_fn, call_native_fn, call_fn_raw and call_native_fn_raw are added to EvalContext (thanks @rawhuul 954).
  • A new internals function, Engine::collect_fn_metadata, is added to collect all functions metadata. This is to facilitate better error reporting for missing functions (thanks therealprof 945).

v1.20.1

Compare Source

==============

Bug fixes

  • Fixed bug in raw strings with newlines (thanks @benatkin 940).

Enhancements

  • If a string slice refers to the entire string, the slice is not cloned but returned as-is.

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 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 has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot force-pushed the renovate/rhai-1.x-lockfile branch from 66d1203 to ee0d0c8 Compare January 25, 2025 05:28
@oxide-renovate oxide-renovate bot changed the title Update Rust crate rhai to v1.20.1 Update Rust crate rhai to v1.21.0 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants