Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Bump rustler from 0.25.0 to 0.26.0 #13

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 5, 2022

Bumps rustler from 0.25.0 to 0.26.0.

Changelog

Sourced from rustler's changelog.

[0.26.0] - 2022-09-02

Highlight

TaggedEnum

We added TaggedEnum, which is a generalized enum type (#440, thanks to @​SeokminHong!). Example:

#[derive(NifTaggedEnum)]
pub enum TaggedEnum1 {
    Named { x: i32, y: i32 },
    String1(String),
    String2(String),
    Untagged,
}

On the Elixir side, the variants are represented as two-tuples {tag::atom(), inner::term()} | atom(), where the inner term is

  • a map for the variant Named in the example above
  • a binary for the String1 and String2 variants

The Untagged variant is represented as the atom :untagged in Elixir.

Added

Improved

  • Use &[impl Encoder] for keys and values in map_from_arrays() to improve ergonomics (#453, thanks @​SeokminHong)
  • Improved encode/decode performance of TaggedEnum considerably (#482, thanks @​cleaton)
  • Test on OTP 25 (#455)

Fixed

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rustler](https://github.com/rusterlium/rustler) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/rusterlium/rustler/releases)
- [Changelog](https://github.com/rusterlium/rustler/blob/master/CHANGELOG.md)
- [Commits](rusterlium/rustler@rustler-0.25.0...rustler-0.26.0)

---
updated-dependencies:
- dependency-name: rustler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Sep 5, 2022
@dependabot dependabot bot requested a review from tessi September 5, 2022 13:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants