Skip to content

Commit

Permalink
build(deps): bump mlua from 0.8.10 to 0.9.2 (#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl authored Jan 1, 2024
1 parent de98d35 commit 5ec1dce
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
41 changes: 23 additions & 18 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion bindings/lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ lua52 = ["mlua", "mlua/lua52"]
crate-type = ["cdylib"]

[dependencies]
mlua = { version = "0.8", features = [
mlua = { version = "0.9", features = [
"module",
"macros",
], default-features = false, optional = true }
opendal.workspace = true
4 changes: 2 additions & 2 deletions bindings/lua/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ use ::opendal as od;
use mlua::prelude::*;
use mlua::UserData;

#[derive(Clone)]
#[derive(Clone, mlua::FromLua)]
struct ODOperator {
operator: od::BlockingOperator,
}

impl UserData for ODOperator {}

#[derive(Clone)]
#[derive(Clone, mlua::FromLua)]
struct ODMetadata {
metadata: od::Metadata,
}
Expand Down

0 comments on commit 5ec1dce

Please sign in to comment.