Cargo Features
[dependencies]
lua-sys = { version = "0.2.0", default-features = false, features = ["std", "embedded-lua", "system-lua", "va-list", "lua-compat"] }
- default = embedded-lua, std, va-list
-
These default features are set whenever
lua-sys
is added without
somewhere in the dependency tree.default-features = false - std default
- embedded-lua default = cc
-
Affects
luaconf::LuaConfig
… - system-lua = pkg-config, vcpkg
- va-list default = va_list
-
Affects
lcore::lua_pushvfstring
… - lua-compat
-
Affects
laux::luaL_checkunsigned
,laux::luaL_getn
,laux::luaL_optunsigned
,laux::luaL_register
,laux::luaL_setn
,laux::luaL_checkint
,laux::luaL_checklong
,laux::luaL_optint
,laux::luaL_optlong
,lcore::lua_tounsignedx
,lcore::lua_cpcall
,lcore::lua_equal
,lcore::lua_lessthan
,lcore::lua_pushunsigned
,lcore::lua_strlen
,lcore::lua_tounsigned
…
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.
- va_list va-list
-
Enables va_list ^0.1.3
- cc build embedded-lua
-
Enables cc ~1.0.46
- pkg-config build system-lua?
- vcpkg build msvc system-lua?