31 lines
860 B
TOML
31 lines
860 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:elua"]
|
|
teal = ["lua", "elua/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"
|
|
|
|
# enabled with lua feature
|
|
#mlua = { version = "0.9.2", features = ["lua54"], optional = true } # luajit maybe?
|
|
elua = { path = "./elua", optional = true }
|
|
itertools = "0.12.0"
|
|
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber = { version = "0.3.16", features = [ "tracing-log" ] }
|