# 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 = "ruau-bytecode"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Luau bytecode codec and compiler substrate for Ruau."
readme = false
keywords = [
    "luau",
    "lua",
    "runtime",
    "parser",
    "typechecker",
]
license = "MIT"
repository = "https://github.com/cortesi/ruau"
resolver = "2"

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

[[test]]
name = "hardening_fixtures"
path = "tests/hardening_fixtures.rs"

[dependencies.foldhash]
version = "0.2"

[dependencies.ruau-ast]
version = "0.3.0"

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

[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.toml]
version = "0.8"

[lints.rust]
missing_docs = "warn"
unnameable_types = "warn"
