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 Magnus version in Rust extension gem template #6843

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

matsadler
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

Magnus, the Ruby bindings library used in the template for a Rust extension gem has released a newer version. It would be helpful if the generated gem skeleton used the latest version.

What is your fix for the problem, implemented in this PR?

The version number has been updated in the template Cargo.toml, and a few changes have been made to lib.rs.tt to account for API changes.

As the newer version of Magnus requires a Rust version that will support inline variables in format strings (e.g. format!("{foo}") instead of format!("{}", foo)) I've made that change too.

Make sure the following tasks are checked

@hsbt hsbt merged commit 933380a into rubygems:master Jul 31, 2023
92 checks passed
deivid-rodriguez pushed a commit that referenced this pull request Jul 31, 2023
Update Magnus version in Rust extension gem template

(cherry picked from commit 933380a)
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.

None yet

3 participants