# 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"
rust-version = "1.94"
name = "lua-astra"
version = "0.50.0"
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"]
build = "build.rs"
exclude = [
    ".github",
    "examples",
    "docs",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "🔥 Blazingly Fast 🔥 runtime environment for Lua"
documentation = "https://astra.arkforge.net"
readme = "README.md"
keywords = [
    "lua",
    "scripting",
    "server",
    "webserver",
    "runtime",
]
categories = [
    "web-programming",
    "command-line-utilities",
    "command-line-interface",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/ArkForgeLabs/Astra"

[features]
default = ["luajit"]
lua51 = ["mlua/lua51"]
lua52 = ["mlua/lua52"]
lua53 = ["mlua/lua53"]
lua54 = ["mlua/lua54"]
lua55 = ["mlua/lua55"]
luajit = ["mlua/luajit"]
luajit52 = ["mlua/luajit52"]
luau = [
    "mlua/luau",
    "mlua/luau-jit",
]

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

[dependencies.axum]
version = "0.8.9"
features = [
    "macros",
    "multipart",
    "http2",
    "ws",
]

[dependencies.axum-extra]
version = "0.12.6"
features = ["cookie"]

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11.1"
features = ["serde"]

[dependencies.chrono]
version = "0.4.45"
features = ["serde"]

[dependencies.clap]
version = "4.6.1"
features = [
    "cargo",
    "derive",
]

[dependencies.csv]
version = "1.4.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.futures]
version = "0.3.32"

[dependencies.glob]
version = "0.3.3"

[dependencies.include_dir]
version = "0.7.4"

[dependencies.markdown]
version = "1.0.0"
features = ["serde"]

[dependencies.minijinja]
version = "2.20.0"
features = [
    "loader",
    "urlencode",
    "loop_controls",
    "speedups",
]

[dependencies.mlua]
version = "0.11.6"
features = [
    "serialize",
    "vendored",
    "async",
    "send",
    "error-send",
    "macros",
    "anyhow",
]

[dependencies.pastey]
version = "0.2.3"

[dependencies.quick-xml]
version = "0.40.1"
features = [
    "async-tokio",
    "encoding",
    "escape-html",
    "overlapped-lists",
    "serialize",
]

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
    "charset",
    "multipart",
    "http2",
    "stream",
    "form",
]
default-features = false

[dependencies.reqwest-websocket]
version = "0.6.0"

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

[dependencies.serde-value]
version = "0.7.0"

[dependencies.serde_ini]
version = "0.2.0"

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_json5]
version = "0.2.1"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.11.0"

[dependencies.sha3]
version = "0.12.0"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "runtime-tokio",
    "tls-rustls",
    "postgres",
    "sqlite",
    "json",
    "chrono",
    "uuid",
]

[dependencies.time]
version = "0.3.47"

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "signal",
    "rt-multi-thread",
]

[dependencies.toml]
version = "1.1.2"

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-http]
version = "0.6.11"
features = [
    "fs",
    "trace",
    "compression-full",
    "decompression-full",
    "set-header",
]

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.uuid]
version = "1.23.2"
features = [
    "serde",
    "v4",
]

[dependencies.version-compare]
version = "0.2.1"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
overflow-checks = false
strip = true

[profile.release.package."*"]
opt-level = 3
codegen-units = 1
strip = true
