Skip to content

Commit

Permalink
build(deps): bump mlua from 0.8.10 to 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Jan 1, 2024
1 parent d5115cc commit 2c78743
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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
5 changes: 3 additions & 2 deletions bindings/lua/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ 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 2c78743

Please sign in to comment.