Cargo Features

mlua has no features set by default.

[dependencies]
mlua = { version = "0.9.7", features = ["lua54", "lua53", "lua52", "lua51", "luajit", "luajit52", "luau", "luau-jit", "luau-vector4", "vendored", "module", "async", "send", "serialize", "macros", "unstable", "parking_lot"] }
lua54

Enables lua54 of mlua-sys

Affects util::push_userdata_uv, 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, types::VmState, types::Vector, util::push_buffer, 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 lua::LuaOptions.thread_pool_size, table::TableExt.call_async, table::TableExt.call_async_method, table::TableExt.call_async_function, thread::AsyncThread, 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, userdata_ext::AnyUserDataExt.call_async, userdata_ext::AnyUserDataExt.call_async_method, userdata_ext::AnyUserDataExt.call_async_function

send

Affects types::MaybeSend

serialize

Enables erased-serde, serde, and serde-value

Affects mlua::serde, value::SerializableValue

macros

Enables macros of mlua_derive

unstable

Affects function::OwnedFunction, string::OwnedString, table::OwnedTable, thread::OwnedThread, userdata::OwnedAnyUserData

Features from optional dependencies

parking_lot implicit feature

Enables parking_lot

parking_lot:

More compact and efficient implementations of the standard synchronization primitives