[package]
name = "luaur-reduce-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "Command-line Luau test-case reducer (Rust)."
keywords = ["luau", "lua", "reduce", "minimizer", "cli"]
categories = ["command-line-utilities", "development-tools"]

[lib]
crate-type = ["rlib"]

[[bin]]
name = "luaur-reduce"
path = "src/main.rs"

[dependencies]
wasm-bindgen = { version = "0.2", optional = true }
luaur-analysis = { path = "../luaur-analysis", version = "0.1.6" }
luaur-ast = { path = "../luaur-ast", version = "0.1.6" }
luaur-bytecode = { path = "../luaur-bytecode", version = "0.1.6" }
luaur-cli-lib = { path = "../luaur-cli-lib", version = "0.1.6" }
luaur-common = { path = "../luaur-common", version = "0.1.6" }
luaur-compiler = { path = "../luaur-compiler", version = "0.1.6" }
luaur-config = { path = "../luaur-config", version = "0.1.6" }
luaur-vm = { path = "../luaur-vm", version = "0.1.6" }

[features]
default = ["std"]
std = []
native = ["std"]
cli = ["native"]
native-codegen = ["native"]
wasm = ["dep:wasm-bindgen"]
