# 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 = "2021"
name = "luaur-web"
version = "0.1.0"
authors = ["Pawel Jankiewicz <p.jankiewicz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings to run and type-check Luau in the browser (Rust)."
readme = false
keywords = [
    "luau",
    "lua",
    "wasm",
    "webassembly",
    "playground",
]
categories = [
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/pjankiewicz/luaur"

[features]
cli = ["native"]
default = ["std"]
native = ["std"]
native-codegen = ["native"]
std = []
wasm = [
    "dep:wasm-bindgen",
    "dep:console_error_panic_hook",
]

[lib]
name = "luaur_web"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.luaur-analysis]
version = "0.1.0"

[dependencies.luaur-ast]
version = "0.1.0"

[dependencies.luaur-bytecode]
version = "0.1.0"

[dependencies.luaur-common]
version = "0.1.0"

[dependencies.luaur-compiler]
version = "0.1.0"

[dependencies.luaur-config]
version = "0.1.0"

[dependencies.luaur-vm]
version = "0.1.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true
