Skip to content

Commit 3d7eb93

Browse files
committed
Release rustler 0.33.0
1 parent dd7c91b commit 3d7eb93

File tree

8 files changed

+23
-10
lines changed

8 files changed

+23
-10
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
See [`UPGRADE.md`](./UPGRADE.md) for additional help when upgrading to newer
99
versions.
1010

11-
## [unreleased]
11+
## [0.33.0] - 2024-05-29
1212

1313
### Added
1414

15-
- Add optional support for using Erlang's allocator as Rust's global allocator
15+
- Optional support for using Erlang's allocator as Rust's global allocator
1616
(#580).
17+
- Comparison functions for PIDs (#611).
18+
- Conversions from and to Rust paths (`PathBuf` and `Path`) (#608).
1719

1820
### Fixed
21+
22+
- `mix compile` failing on path dependencies in the Rust library (#577, fixed in
23+
#578 and #607)
24+
1925
### Changed
2026

2127
- Drop usage of `lazy_static` in favour of `std::sync::OnceLock`. This change
2228
raises the minimal supported Rust version to 1.70.
29+
- Drop obsolete and incorrect `Rustler.nif_versions` function.
2330

2431
### Removed
2532

UPGRADE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
This document is intended to simplify upgrading to newer versions by extending the changelog.
44

5+
## 0.32 -> 0.33
6+
7+
The macro changes that where already carried out in version `0.22` are now
8+
mandatory, the deprecated macros have been removed. Please see below for
9+
documentation on how to convert from the old to the new set of macros.
10+
511
## 0.31 -> 0.32
612

713
1. The functionality of `rustler_bigint` has moved into `rustler`. The library

rustler/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rustler"
33
description = "Safe Rust wrappers for creating Erlang NIF functions"
44
repository = "https://github.com/rusterlium/rustler"
5-
version = "0.32.1" # rustler version
5+
version = "0.33.0" # rustler version
66
authors = ["Hansihe <[email protected]>"]
77
license = "MIT/Apache-2.0"
88
readme = "../README.md"
@@ -22,8 +22,8 @@ nif_version_2_17 = ["nif_version_2_16", "rustler_sys/nif_version_2_17"]
2222
serde = ["dep:serde"]
2323

2424
[dependencies]
25-
rustler_codegen = { path = "../rustler_codegen", version = "0.32.1", optional = true}
26-
rustler_sys = { path = "../rustler_sys", version = "~2.4.0" }
25+
rustler_codegen = { path = "../rustler_codegen", version = "0.33.0", optional = true}
26+
rustler_sys = { path = "../rustler_sys", version = "~2.4.1" }
2727
num-bigint = { version = "0.4", optional = true }
2828
serde = { version = "1", optional = true }
2929

rustler_codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rustler_codegen"
33
description = "Compiler plugin for Rustler"
44
repository = "https://github.com/rusterlium/rustler/tree/master/rustler_codegen"
5-
version = "0.32.1" # rustler_codegen version
5+
version = "0.33.0" # rustler_codegen version
66
authors = ["Hansihe <[email protected]>"]
77
license = "MIT/Apache-2.0"
88
readme = "../README.md"

rustler_mix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This package is available on [Hex.pm](https://hex.pm/packages/rustler). To insta
1515
```elixir
1616
def deps do
1717
[
18-
{:rustler, "~> 0.32.1", runtime: false}
18+
{:rustler, "~> 0.33.0", runtime: false}
1919
]
2020
end
2121
```

rustler_mix/lib/rustler.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ defmodule Rustler do
170170
end
171171

172172
@doc false
173-
def rustler_version, do: "0.32.1"
173+
def rustler_version, do: "0.33.1"
174174
end

rustler_mix/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Rustler.Mixfile do
22
use Mix.Project
33

44
@source_url "https://github.com/rusterlium/rustler"
5-
@version "0.32.1"
5+
@version "0.33.0"
66

77
def project do
88
[

rustler_sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name = "rustler_sys"
2020
# When depending on this crate, you should ALWAYS
2121
# use a tilde requirements with AT LEAST `~MAJOR.MINOR`.
2222
# Example: "~2.0"
23-
version = "2.4.0"
23+
version = "2.4.1"
2424

2525
authors = ["Daniel Goertzen <[email protected]>"]
2626
description = "Create Erlang NIF modules in Rust using the C NIF API."

0 commit comments

Comments
 (0)