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 28, 2023
1 parent 2c3461a commit 3387d53
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
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 <me@hansihe.com>"]
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 3387d53

Please sign in to comment.