lyra-engine/lyra-scripting/Cargo.toml

25 lines
622 B
TOML

[package]
name = "lyra-scripting"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["lua"]
lua = ["dep:mlua"]
[dependencies]
lyra-ecs = { path = "../lyra-ecs" }
lyra-reflect = { path = "../lyra-reflect" }
lyra-resource = { path = "../lyra-resource" }
thiserror = "1.0.50"
anyhow = "1.0.77"
tracing = "0.1.37"
# enabled with lua feature
mlua = { version = "0.9.2", features = ["lua54"], optional = true } # luajit maybe?
[dev-dependencies]
tracing-subscriber = { version = "0.3.16", features = [ "tracing-log" ] }