Skip to content

Commit

Permalink
Bump edition to 2021 and use v2 resolver for workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed Aug 29, 2023
1 parent 9957263 commit bbcffdb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ See [`UPGRADE.md`](./UPGRADE.md) for additional help when upgrading to newer ver
* Dropped support for `RUSTLER_NIF_VERSION`
* Deprecated `:rustler_crates` project configuration
* Mark `use Rustler` module configuration as compile-time
* Bump Rust edition to 2021

## [0.29.1] - 2023-06-30

Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"rustler",
"rustler_bigint",
Expand Down
2 changes: 1 addition & 1 deletion rustler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.29.1" # rustler version
authors = ["Hansihe <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "../README.md"
edition = "2018"
edition = "2021"

[features]
default = ["derive", "nif_version_2_15"]
Expand Down
2 changes: 1 addition & 1 deletion rustler_benchmarks/native/benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "benchmark"
version = "0.1.0"
authors = []
edition = "2018"
edition = "2021"

[lib]
name = "benchmark"
Expand Down
2 changes: 1 addition & 1 deletion rustler_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ documentation = "https://docs.rs/rustler_sys"
repository = "https://github.com/rusterlium/rustler"
license = "MIT/Apache-2.0"
keywords = ["FFI", "Erlang", "NIF"]
edition = "2018"
edition = "2021"

build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion rustler_tests/native/binary_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "binary_example"
version = "0.1.0"
authors = []
edition = "2018"
edition = "2021"

[[bin]]
name = "binary_example"
Expand Down
2 changes: 1 addition & 1 deletion rustler_tests/native/rustler_compile_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rustler_compile_tests"
version = "0.1.0"
authors = []
edition = "2018"
edition = "2021"

[lib]
name = "rustler_compile_test"
Expand Down
2 changes: 1 addition & 1 deletion rustler_tests/native/rustler_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rustler_test"
version = "0.1.0"
authors = []
edition = "2018"
edition = "2021"

[lib]
name = "rustler_test"
Expand Down

0 comments on commit bbcffdb

Please sign in to comment.