Skip to content

Commit

Permalink
Update Rustler to 0.35.0 (#41)
Browse files Browse the repository at this point in the history
- Update Rustler
- Use latest Rust stable in the CI

---------

Co-authored-by: Benjamin Philip <benjamin.philip495@gmail.com>
  • Loading branch information
mpope9 and Benjamin-Philip authored Nov 25, 2024
1 parent c5f9555 commit 36e61d2
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: true

env:
RUST_TOOLCHAIN_VERSION: nightly-2023-06-01
RUST_TOOLCHAIN_VERSION: stable

jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/erlang-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main

env:
RUST_TOOLCHAIN_VERSION: nightly-2023-06-01
RUST_TOOLCHAIN_VERSION: stable

jobs:
format:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main

env:
RUST_TOOLCHAIN_VERSION: nightly-2023-06-01
RUST_TOOLCHAIN_VERSION: stable

jobs:
lint-rust:
Expand Down
139 changes: 85 additions & 54 deletions native/arrow_format_nif/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion native/arrow_format_nif/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ crate-type = ["dylib"]

[dependencies]
arrow-format = { version = "0.8", features = ["ipc"] }
rustler = "0.30.0"
rustler = "0.35.0"
10 changes: 1 addition & 9 deletions native/arrow_format_nif/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,4 @@ fn serialize_footer(env: Env, footer: Footer) -> Binary {
erl_bin.release(env)
}

rustler::init!(
"arrow_format_nif",
[
test_decode,
test_encode,
serialize_message,
serialize_footer
]
);
rustler::init!("arrow_format_nif");

0 comments on commit 36e61d2

Please sign in to comment.