lune 0.10.5

A standalone Luau runtime
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "lune"
version = "0.10.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A standalone Luau runtime"
readme = "README.md"
keywords = [
    "cli",
    "lua",
    "luau",
    "runtime",
]
categories = ["command-line-interface"]
license = "MPL-2.0"
repository = "https://github.com/lune-org/lune"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:rustyline",
    "dep:zip",
    "dep:lune-std-net",
]
default = [
    "std",
    "cli",
]
std = [
    "std-datetime",
    "std-fs",
    "std-luau",
    "std-net",
    "std-process",
    "std-regex",
    "std-roblox",
    "std-serde",
    "std-stdio",
    "std-task",
]
std-datetime = [
    "dep:lune-std",
    "lune-std/datetime",
]
std-fs = [
    "dep:lune-std",
    "lune-std/fs",
]
std-luau = [
    "dep:lune-std",
    "lune-std/luau",
]
std-net = [
    "dep:lune-std",
    "lune-std/net",
]
std-process = [
    "dep:lune-std",
    "lune-std/process",
]
std-regex = [
    "dep:lune-std",
    "lune-std/regex",
]
std-roblox = [
    "dep:lune-std",
    "lune-std/roblox",
]
std-serde = [
    "dep:lune-std",
    "lune-std/serde",
]
std-stdio = [
    "dep:lune-std",
    "lune-std/stdio",
]
std-task = [
    "dep:lune-std",
    "lune-std/task",
]

[lib]
name = "lune"
path = "src/lib.rs"

[[bin]]
name = "lune"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-fs]
version = "2.1"

[dependencies.async-io]
version = "2.4"

[dependencies.blocking]
version = "1.6"

[dependencies.clap]
version = "4.1"
features = ["derive"]
optional = true

[dependencies.console]
version = "0.16"

[dependencies.dialoguer]
version = "0.12"

[dependencies.directories]
version = "6.0"

[dependencies.futures-lite]
version = "2.6"

[dependencies.lune-std]
version = "0.3.5"
optional = true

[dependencies.lune-std-net]
version = "0.3.5"
optional = true

[dependencies.lune-utils]
version = "0.3.5"

[dependencies.mlua]
version = "0.11.6"
features = ["luau"]

[dependencies.mlua-luau-scheduler]
version = "0.2.4"

[dependencies.rustyline]
version = "18.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.zip]
version = "8.6"
features = [
    "bzip2",
    "deflate",
    "deflate64",
    "zstd",
]
optional = true
default-features = false

[lints.clippy.all]
level = "deny"
priority = -3

[lints.clippy.cargo]
level = "warn"
priority = -2

[lints.clippy.cast_lossless]
level = "allow"
priority = 1

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1

[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1

[lints.clippy.module_inception]
level = "allow"
priority = 1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.clippy.needless_pass_by_value]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.similar_names]
level = "allow"
priority = 1

[lints.clippy.unnecessary_wraps]
level = "allow"
priority = 1

[lints.clippy.unnested_or_patterns]
level = "allow"
priority = 1

[lints.clippy.unreadable_literal]
level = "allow"
priority = 1

[lints.clippy.wildcard_imports]
level = "allow"
priority = 1