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

Commit

Permalink
Version 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Mar 11, 2024
1 parent 139431f commit 3ca27fa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## `0.0.2` - March 11th, 2024

### Changed

- Upgraded `mlua` version to `0.9.6` for more `ThreadId` optimizations

## `0.0.1` - February 16th, 2024

Initial release
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mlua-luau-scheduler"
version = "0.0.1"
version = "0.0.2"
edition = "2021"
license = "MPL-2.0"
repository = "https://github.com/lune-org/mlua-luau-scheduler"
Expand All @@ -19,7 +19,7 @@ futures-lite = "2.2"
rustc-hash = "1.1"
tracing = "0.1"

mlua = { version = "0.9.5", features = [
mlua = { version = "0.9.6", features = [
"luau",
"luau-jit",
"async",
Expand Down
4 changes: 1 addition & 3 deletions lib/thread_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ pub struct ThreadId {

impl From<&LuaThread<'_>> for ThreadId {
fn from(thread: &LuaThread) -> Self {
// TODO: Use this to avoid clone when mlua releases a new version with it
// Self { inner: thread.to_pointer() as usize }
Self {
inner: LuaValue::Thread(thread.clone()).to_pointer() as usize,
inner: thread.to_pointer() as usize,
}
}
}
Expand Down

0 comments on commit 3ca27fa

Please sign in to comment.