Cargo Features

mlua has no features set by default.

[dependencies]
mlua = { version = "0.10.2", features = ["lua54", "lua53", "lua52", "lua51", "luajit", "luajit52", "luau", "luau-jit", "luau-vector4", "vendored", "module", "async", "send", "error-send", "serialize", "macros", "anyhow", "userdata-wrappers"] }
lua54

Enables lua54 of mlua-sys

Affects hook::DebugStack.num_params, hook::DebugStack.is_vararg

lua53

Enables lua53 of mlua-sys

Affects hook::DebugStack.num_params, hook::DebugStack.is_vararg

lua52

Enables lua52 of mlua-sys

Affects hook::DebugStack.num_params, hook::DebugStack.is_vararg

lua51

Enables lua51 of mlua-sys

luajit luajit52?

Enables luajit of mlua-sys

luajit52 = luajit

Enables luajit52 of mlua-sys

luau luau-jit? luau-vector4?

Enables libloading, luau of mlua-sys

Affects chunk::Compiler, function::CoverageInfo, hook::DebugStack.num_params, hook::DebugStack.is_vararg

luau-jit = luau

Enables luau-codegen of mlua-sys

luau-vector4 = luau

Enables luau-vector4 of mlua-sys

vendored

Enables vendored of mlua-sys

module

Enables mlua_derive, module of mlua-sys

Affects package::MLUA_LUAU_ABI_VERSION

async

Enables futures-util

Affects state::LuaOptions.thread_pool_size, thread::AsyncThread, traits::ObjectLike.call_async, traits::ObjectLike.call_async_method, traits::ObjectLike.call_async_function, traits::LuaNativeAsyncFn, userdata::UserDataMethods.add_async_method, userdata::UserDataMethods.add_async_method_mut, userdata::UserDataMethods.add_async_function, userdata::UserDataMethods.add_async_meta_method, userdata::UserDataMethods.add_async_meta_method_mut, userdata::UserDataMethods.add_async_meta_function

send = error-send

Enables send_guard of parking_lot

Affects types::MaybeSend

error-send anyhow? send?
serialize

Enables erased-serde, serde, and serde-value

Affects mlua::serde, value::SerializableValue

macros

Enables macros of mlua_derive

anyhow = error-send

Enables anyhow

userdata-wrappers