Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 435 Bytes

File metadata and controls

18 lines (13 loc) · 435 Bytes

Lua Minfier

A basic Lua minification program written in pure Rust

Created for an upcoming Lua obfuscator project

Usage

Add the following to your Cargo.toml file add the depdendancy to your project

lua_minifier = { git = "https://github.com/PY44N/LuaMinifier" }

Use the following code to minify lua code from a file

let output = minify("file.lua").expect("Failed to minify");
println!("{}", output);