lyra-engine/crates/lyra-scripting/Cargo.toml

35 lines
1.1 KiB
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"]
#teal = ["lua", "mlua/teal"]
[dependencies]
lyra-scripting-derive = { path = "lyra-scripting-derive" }
lyra-ecs = { path = "../lyra-ecs", features = [ "math" ] }
lyra-reflect = { path = "../lyra-reflect", features = [ "math" ] }
lyra-resource = { path = "../lyra-resource" }
lyra-game = { path = "../lyra-game" }
thiserror = "1.0.50"
anyhow = "1.0.77"
tracing = "0.1.37"
atomic_refcell = "0.1.13"
# enabled with lua feature
#
#mlua = { version = "0.9.9", features = ["lua54", "send"], optional = true } # luajit maybe?
mlua = { git = "https://github.com/mlua-rs/mlua", rev = "4dddf3c18d4590f7c92214fa592c3faca3d2c812", features = ["lua54", "send"], optional = true } # luajit maybe?
#elua = { path = "./elua", optional = true }
itertools = "0.12.0"
paste = "1.0.14"
parking_lot = "0.12.3"
[dev-dependencies]
tracing-subscriber = { version = "0.3.16", features = [ "tracing-log" ] }