# 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 = "luars"
version = "0.18.1"
authors = ["CppCXY"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for lua 5.5 runtime implementation in Rust"
readme = "README.md"
keywords = [
    "lua",
    "runtime",
    "interpreter",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/CppCXY/lua-rs"
resolver = "2"

[features]
default = []
sandbox = []
serde = [
    "dep:serde",
    "dep:serde_json",
]
shared-proto = []

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

[dependencies.ahash]
version = "0.8"

[dependencies.chrono]
version = "0.4"

[dependencies.itoa]
version = "1"

[dependencies.luars-derive]
version = "0.9.0"

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
