58 lines
1.3 KiB
TOML
58 lines
1.3 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/lb",
|
|
"crates/luaffi",
|
|
"crates/luaffi_impl",
|
|
"crates/luaify",
|
|
"crates/luajit",
|
|
"crates/luajit-sys",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
authors = ["luaneko <lumi@lua.re>"]
|
|
homepage = "https://git.lua.re/luaneko/luby/"
|
|
repository = "https://git.lua.re/luaneko/luby/"
|
|
|
|
[package]
|
|
name = "luby"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
|
|
[profile]
|
|
dev.panic = "abort"
|
|
release.panic = "abort"
|
|
|
|
[[test]]
|
|
name = "main"
|
|
harness = false
|
|
|
|
[features]
|
|
default = ["task", "fs", "net"]
|
|
task = ["lb/task"]
|
|
fs = ["lb/fs"]
|
|
net = ["lb/net"]
|
|
tokio-console = ["dep:console-subscriber"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.40", features = ["derive", "env"] }
|
|
console-subscriber = { version = "0.4.1", optional = true }
|
|
lb = { path = "crates/lb", features = ["runtime"] }
|
|
luajit = { path = "crates/luajit", features = ["runtime"] }
|
|
mimalloc = "0.1.47"
|
|
owo-colors = "4.2.1"
|
|
sysexits = "0.9.0"
|
|
tokio = { version = "1.45.1", features = ["rt", "rt-multi-thread"] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
|
|
|
[build-dependencies]
|
|
vergen-git2 = { version = "1.0.7", features = ["cargo", "rustc"] }
|