Cargo Features

factorio-mlua has no features set by default.

[dependencies]
factorio-mlua = { version = "0.9.0-beta.2", features = ["lua54", "lua53", "lua52", "lua51", "lua-factorio", "luajit", "luajit52", "luau", "vendored", "module", "async", "send", "serialize", "macros", "unstable", "parking_lot"] }
lua54

Enables lua54 of factorio-mlua-sys

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

lua53

Enables lua53 of factorio-mlua-sys

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

lua52

Enables lua52 of factorio-mlua-sys

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

lua51

Enables lua51 of factorio-mlua-sys

lua-factorio = link-cplusplus

Enables lua-factorio of factorio-mlua-sys

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

luajit luajit52?

Enables luajit of factorio-mlua-sys

luajit52 = luajit

Enables luajit52 of factorio-mlua-sys

luau

Enables luau of factorio-mlua-sys

Affects chunk::Compiler, function::CoverageInfo, types::VmState, util::push_userdata, hook::DebugStack.num_params, hook::DebugStack.is_vararg

vendored

Enables vendored of factorio-mlua-sys

module = mlua_derive

Enables module of factorio-mlua-sys

async = futures-core, futures-task, 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_function, userdata::UserDataMethods.add_async_meta_method, userdata::UserDataMethods.add_async_meta_function, userdata::UserDataMethods.add_async_callback, userdata::UserDataMethods.add_async_meta_callback, userdata_ext::AnyUserDataExt.call_async, userdata_ext::AnyUserDataExt.call_async_method, userdata_ext::AnyUserDataExt.call_async_function

send

Affects types::MaybeSend

serialize = erased-serde, serde, serde-value

Affects factorio-mlua::serde

macros

Enables macros of mlua_derive =0.9.0-beta.1

unstable

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

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mlua_derive macros? module?

Enables mlua_derive =0.9.0-beta.1

futures-core async?
futures-task async?
futures-util async?
serde serialize?
erased-serde serialize?

Enables erased-serde ^0.3

serde-value serialize?
parking_lot implicit feature

Enables parking_lot

parking_lot:

More compact and efficient implementations of the standard synchronization primitives