Cargo Features
[dependencies]
lunka = { version = "0.4.3", default-features = false, features = ["use-32-bits", "auxlib", "stdlibs"] }
- use-32-bits
-
Use definitions for 32 bits max. This is analogous to the
LUA_32BITS
define, and should be set appropriately depending on the compiled Lua settings. It's usually set to0
, so this is disabled by default. - auxlib default
-
Include and use stuff from
lauxlib.h
.Affects
cdef::auxlib
,lunka::aux_options
,lunka::reg
… - stdlibs default
-
Include and use definitions for importing the standard libraries (in
lualib.h
).Affects
cdef::stdlibs
… - default = auxlib, stdlibs
-
These default features are set whenever
lunka
is added without
somewhere in the dependency tree.default-features = false