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-06-12 11:22:08 +01:00
|
|
|
version = "0.7.0"
|
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"
|
2023-05-08 12:13:34 +01:00
|
|
|
directories = "5.0"
|
2023-02-24 16:48:11 +00:00
|
|
|
futures-util = "0.3"
|
2023-03-25 16:37:12 +00:00
|
|
|
once_cell = "1.17"
|
2023-01-23 02:46:30 +00:00
|
|
|
|
2023-06-08 13:25:44 +01:00
|
|
|
mlua = { version = "0.9.0-beta.3", features = ["luau", "serialize"] }
|
2023-05-06 08:45:13 +01:00
|
|
|
tokio = { version = "1.24", features = ["full"] }
|
2023-06-12 11:20:36 +01:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = [
|
|
|
|
"rustls-tls",
|
|
|
|
] }
|
2023-03-09 11:17:25 +00:00
|
|
|
|
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
|
|
|
# Profile for building the release binary, with the following options set:
|
2023-03-14 09:50:34 +00:00
|
|
|
#
|
2023-02-25 12:41:50 +00:00
|
|
|
# 1. Optimize for size
|
|
|
|
# 2. Automatically strip symbols from the binary
|
2023-05-06 10:10:59 +01:00
|
|
|
# 3. Enable link-time optimization
|
2023-03-14 09:50:34 +00:00
|
|
|
#
|
|
|
|
# Note that we could abort instead of panicking to cut down on size
|
|
|
|
# even more, but because we use the filesystem & some other APIs we
|
|
|
|
# need the panic unwinding to properly handle usage of said APIs
|
|
|
|
#
|
2023-02-24 16:44:09 +00:00
|
|
|
[profile.release]
|
2023-02-25 12:41:50 +00:00
|
|
|
opt-level = "z"
|
|
|
|
strip = true
|
2023-05-06 10:10:59 +01:00
|
|
|
lto = true
|