[package]
edition = "2021"
rust-version = "1.77"
name = "omnilua"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Every Lua, everywhere — pure-Rust Lua 5.1–5.5, suite-passing, LuaRocks-compatible, wasm-ready."
homepage = "https://github.com/ianm199/omnilua"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ianm199/omnilua"
[features]
async = ["coroutine"]
bit32 = ["lua-stdlib/bit32"]
coroutine = ["lua-stdlib/coroutine"]
debug = ["lua-stdlib/debug"]
default = ["full"]
derive = ["dep:lua-rs-derive"]
full = [
"io",
"os",
"package",
"debug",
"coroutine",
"utf8",
"bit32",
]
io = ["lua-stdlib/io"]
os = ["lua-stdlib/os"]
package = ["lua-stdlib/package"]
serde = ["dep:serde"]
utf8 = ["lua-stdlib/utf8"]
[lib]
name = "omnilua"
path = "src/lib.rs"
[[example]]
name = "sandbox_smoke"
path = "examples/sandbox_smoke.rs"
[[example]]
name = "scope_delegate_macro"
path = "examples/scope_delegate_macro.rs"
required-features = ["derive"]
[[example]]
name = "scope_world"
path = "examples/scope_world.rs"
[[example]]
name = "size_class_histogram"
path = "examples/size_class_histogram.rs"
[[test]]
name = "async_kit"
path = "tests/async_kit.rs"
[[test]]
name = "bytecode"
path = "tests/bytecode.rs"
[[test]]
name = "compiled_chunk"
path = "tests/compiled_chunk.rs"
[[test]]
name = "const_fold_kit"
path = "tests/const_fold_kit.rs"
[[test]]
name = "cross_version_bridge"
path = "tests/cross_version_bridge.rs"
[[test]]
name = "dump_kit"
path = "tests/dump_kit.rs"
[[test]]
name = "error_display"
path = "tests/error_display.rs"
[[test]]
name = "error_wording_kit"
path = "tests/error_wording_kit.rs"
[[test]]
name = "gc_control"
path = "tests/gc_control.rs"
[[test]]
name = "global_shadow_kit"
path = "tests/global_shadow_kit.rs"
[[test]]
name = "handle_identity"
path = "tests/handle_identity.rs"
[[test]]
name = "host_coroutine"
path = "tests/host_coroutine.rs"
[[test]]
name = "large_table"
path = "tests/large_table.rs"
[[test]]
name = "leak_canaries"
path = "tests/leak_canaries.rs"
[[test]]
name = "multiversion_53"
path = "tests/multiversion_53.rs"
[[test]]
name = "multiversion_55"
path = "tests/multiversion_55.rs"
[[test]]
name = "multiversion_oracle"
path = "tests/multiversion_oracle.rs"
[[test]]
name = "named_registry"
path = "tests/named_registry.rs"
[[test]]
name = "number_seam"
path = "tests/number_seam.rs"
[[test]]
name = "numeric_tostring_contract"
path = "tests/numeric_tostring_contract.rs"
[[test]]
name = "panic_hook_chaining"
path = "tests/panic_hook_chaining.rs"
[[test]]
name = "registry_key"
path = "tests/registry_key.rs"
[[test]]
name = "runtime_sandbox"
path = "tests/runtime_sandbox.rs"
[[test]]
name = "sandbox"
path = "tests/sandbox.rs"
[[test]]
name = "scope_delegate"
path = "tests/scope_delegate.rs"
[[test]]
name = "scope_error_rooting"
path = "tests/scope_error_rooting.rs"
[[test]]
name = "scope_with_derive"
path = "tests/scope_with_derive.rs"
[[test]]
name = "scope_world_smoke"
path = "tests/scope_world_smoke.rs"
[[test]]
name = "serde_integration"
path = "tests/serde_integration.rs"
[[test]]
name = "table_helpers"
path = "tests/table_helpers.rs"
[[test]]
name = "traceback_capture"
path = "tests/traceback_capture.rs"
[[test]]
name = "uservalues"
path = "tests/uservalues.rs"
[[test]]
name = "version_support"
path = "tests/version_support.rs"
[dependencies.lua-gc]
version = "0.7.0"
[dependencies.lua-parse]
version = "0.7.0"
[dependencies.lua-rs-derive]
version = "0.7.0"
optional = true
[dependencies.lua-stdlib]
version = "0.7.0"
default-features = false
[dependencies.lua-types]
version = "0.7.0"
[dependencies.lua-vm]
version = "0.7.0"
[dependencies.serde]
version = "1"
optional = true
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_bytes]
version = "0.11"
[dev-dependencies.serde_json]
version = "1"
[lints.rust]
unsafe_code = "allow"