lune/Cargo.toml

52 lines
1.6 KiB
TOML
Raw Normal View History

2023-02-06 00:13:58 +00:00
[workspace]
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-04-30 19:51:52 +01:00
version = "0.6.6"
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"
2023-03-25 16:37:12 +00:00
once_cell = "1.17"
2023-01-23 02:46:30 +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-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:
#
2023-02-25 12:41:50 +00:00
# 1. Optimize for size
# 2. Automatically strip symbols from the binary
# 3. Enable link-time optimization
#
# 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
lto = true