[package]
edition = "2024"
name = "luna-core"
version = "3.2.2"
authors = ["GOLIA K.K. <lihao@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust Lua runtime (interpreter only, zero third-party dependencies). The JIT-equipped variant lives in the `luna-jit` crate."
readme = "README.md"
keywords = [
"lua",
"vm",
"interpreter",
"jit",
"embedded",
]
categories = [
"compilers",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/goliajp/luna"
resolver = "2"
[features]
default = []
gc-verify = []
send = []
[lib]
name = "luna_core"
crate-type = ["rlib"]
path = "src/lib.rs"
[[example]]
name = "embed_min"
path = "examples/embed_min.rs"
[[test]]
name = "gc_stress_plain"
path = "tests/gc_stress_plain.rs"
[[test]]
name = "gc_stress_poison"
path = "tests/gc_stress_poison.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[[test]]
name = "official_run"
path = "tests/official_run.rs"
[[test]]
name = "parse_official"
path = "tests/parse_official.rs"
[[bench]]
name = "mem_baseline"
path = "benches/mem_baseline.rs"
harness = false
[dependencies]
[dev-dependencies.dhat]
version = "0.3"
[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
incompatible_msrv = "allow"
missing_safety_doc = "allow"
needless_range_loop = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(luna_aot_runtime_stub)"]