Registry / other / hlua
library0.4.3rscratesunverified

Zero-cost high-level wrapper for Lua, providing safe and ergonomic bindings.

# Cargo.toml [dependencies] hlua = "0.4.3"
INSTALL
IMPORT
SIG · HLUA
H
hlua
otherrustv0.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lua
use hlua::Lua;

Creates a new Lua state and executes a simple script.

use hlua::Lua; fn main() { let mut lua = Lua::new(); lua.execute("print('Hello from Lua!')").unwrap(); }
Debug
Known issues
breakingDeprecated in favor of rlua or mlua; no longer actively maintained.
fix
Consider migrating to `rlua` or `mlua` for continued support.
affects: >=0.4.0
Upgrade
Version history
0.4.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
hlua — cargo add hlua · libregistry