[package]
name = "luaur-cli-lib"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "Shared CLI helpers for the luaur tools."
keywords = ["luau", "lua", "cli"]
categories = ["command-line-utilities", "development-tools"]
[lib]
crate-type = ["rlib"]
[dependencies]
wasm-bindgen = { version = "0.2", optional = true }
luaur-ast = { path = "../luaur-ast", version = "0.1.3" }
luaur-bytecode = { path = "../luaur-bytecode", version = "0.1.3" }
luaur-common = { path = "../luaur-common", version = "0.1.3" }
luaur-compiler = { path = "../luaur-compiler", version = "0.1.3" }
luaur-config = { path = "../luaur-config", version = "0.1.3" }
luaur-vm = { path = "../luaur-vm", version = "0.1.3" }
[features]
default = ["std"]
std = []
native = ["std"]
cli = ["native"]
native-codegen = ["native"]
wasm = ["dep:wasm-bindgen"]
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
] }