emmylua_check 0.25.0

A command-line tool for checking lua code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;
use emmylua_check::{cmd_args::CmdArgs, run_check};
use mimalloc::MiMalloc;
use std::error::Error;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error + Sync + Send>> {
    let cmd_args = CmdArgs::parse();
    run_check(cmd_args).await
}