lyra-engine/lyra-scripting/Cargo.toml

26 lines
660 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" }
lyra-game = { path = "../lyra-game" }
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" ] }