Cargo Features
[dependencies]
tealr = { version = "0.10.0", default-features = false, features = ["compile", "derive", "embed_compiler_from_download", "embed_compiler_from_local", "mlua_async", "mlua_lua51", "mlua_lua52", "mlua_lua53", "mlua_lua54", "mlua_luajit", "mlua_luajit52", "mlua_luau", "mlua_macros", "mlua_module", "mlua_send", "mlua_serialize", "mlua_vendored", "mlua_error-send", "mlua_userdata-wrappers", "mlua_anyhow"] }
- default = compile, derive, embed_compiler_from_download
-
These default features are set whenever
tealr
is added without
somewhere in the dependency tree.default-features = false - compile default
-
Enables compile of tealr_derive
- derive default
-
Enables derive of tealr_derive
- embed_compiler_from_download default
-
Enables embed_compiler_from_download of tealr_derive
- embed_compiler_from_local
-
Enables embed_compiler_from_local of tealr_derive
- mlua_async
-
mlua specific features
Affects
teal_data_methods::TealDataMethods.add_async_method
,teal_data_methods::TealDataMethods.add_async_function
… - mlua_lua51
- mlua_lua52
- mlua_lua53
- mlua_lua54
- mlua_luajit
- mlua_luajit52
- mlua_luau
- mlua_macros
- mlua_module
- mlua_send
-
Affects
mlu::MaybeSend
… - mlua_serialize
- mlua_vendored
- mlua_error-send
-
Enables error-send of mlua
- mlua_userdata-wrappers
-
Enables userdata-wrappers of mlua
- mlua_anyhow
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 mlua_anyhow? mlua_async? mlua_error-send? mlua_lua51? mlua_lua52? mlua_lua53? mlua_lua54? mlua_luajit? mlua_luajit52? mlua_luau? mlua_macros? mlua_module? mlua_send? mlua_serialize? mlua_userdata-wrappers? mlua_vendored?
-
Affects
tealr::mlu
… - tealr_derive compile derive embed_compiler_from_download embed_compiler_from_local?