2023-02-06 00:13:58 +00:00
|
|
|
[workspace]
|
2023-03-09 11:17:25 +00:00
|
|
|
members = ["packages/cli", "packages/lib", "packages/lib-roblox"]
|
2023-02-06 00:13:58 +00:00
|
|
|
default-members = ["packages/cli"]
|
|
|
|
|
2023-02-25 12:41:50 +00:00
|
|
|
# Package config values shared across all packages,
|
|
|
|
# such as version, license, and other metadata
|
2023-02-06 00:13:58 +00:00
|
|
|
[workspace.package]
|
2023-03-08 12:06:03 +00:00
|
|
|
version = "0.5.5"
|
2023-01-19 01:47:14 +00:00
|
|
|
edition = "2021"
|
2023-01-25 01:36:59 +00:00
|
|
|
license = "MPL-2.0"
|
2023-01-19 02:19:10 +00:00
|
|
|
repository = "https://github.com/filiptibell/lune"
|
|
|
|
description = "A Luau script runner"
|
2023-02-06 00:13:58 +00:00
|
|
|
readme = "README.md"
|
2023-01-19 02:19:10 +00:00
|
|
|
keywords = ["cli", "lua", "luau", "scripts"]
|
|
|
|
categories = ["command-line-interface"]
|
2023-01-19 01:47:14 +00:00
|
|
|
|
2023-02-25 12:41:50 +00:00
|
|
|
# Shared dependencies that are used across 2 or more packages
|
|
|
|
# These are declared here to ensure consistent versioning
|
2023-02-06 00:13:58 +00:00
|
|
|
[workspace.dependencies]
|
2023-02-24 16:48:11 +00:00
|
|
|
console = "0.15"
|
|
|
|
futures-util = "0.3"
|
|
|
|
lazy_static = "1.4"
|
2023-01-23 02:46:30 +00:00
|
|
|
|
2023-03-09 11:17:25 +00:00
|
|
|
mlua = { version = "0.8", features = ["luau", "serialize"] }
|
|
|
|
|
2023-02-25 12:41:50 +00:00
|
|
|
# Serde dependencies, supporting user-facing formats: json, yaml, toml
|
2023-02-24 16:48:11 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
|
|
serde_yaml = "0.9"
|
2023-02-25 12:41:50 +00:00
|
|
|
toml = { version = "0.7", features = ["preserve_order"] }
|
2023-02-03 19:40:06 +00:00
|
|
|
|
2023-02-25 12:41:50 +00:00
|
|
|
# Tokio runtime & async clients
|
|
|
|
tokio = { version = "1.24", features = ["full"] }
|
|
|
|
reqwest = { version = "0.11", default-features = false, features = [
|
|
|
|
"rustls-tls",
|
|
|
|
] }
|
2023-02-24 16:44:09 +00:00
|
|
|
|
2023-02-25 12:41:50 +00:00
|
|
|
# Profile for building the release binary, with the following options set:
|
|
|
|
# 1. Optimize for size
|
|
|
|
# 2. Automatically strip symbols from the binary
|
|
|
|
# 3. Enable link-time optimization
|
|
|
|
# 4. Remove extra panic info
|
2023-02-24 16:44:09 +00:00
|
|
|
[profile.release]
|
2023-02-25 12:41:50 +00:00
|
|
|
opt-level = "z"
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
panic = "abort"
|