Home

Awesome

Word Ninja Rust Lua

Wordninja Rust lua native module.

MIT licensed AUR

You MUST rename target file to wordninja.so (or wordninja.dll if use Windows) before require it in Lua.

How to use

Depends rust lua5.4/lua5.3

$ cargo build --release --features "lua54"
$ cp target/release/libwordninja_rs_lua.so wordninja.so

$ lua5.4 -e 'print(require("wordninja").split("iloverust"))'
i love rust