dellingr 0.1.0

An embeddable, pure-Rust Lua VM with precise instruction-cost accounting
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"
rust-version = "1.92"
name = "dellingr"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An embeddable, pure-Rust Lua VM with precise instruction-cost accounting"
readme = "README.md"
license = "MIT"
repository = "https://github.com/folknor/dellingr"

[features]
debug_gc = []
debug_parser = []
debug_vm = []
hotpath = ["hotpath/hotpath"]
hotpath-alloc = [
    "hotpath/hotpath",
    "hotpath/hotpath-alloc",
]

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

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

[[example]]
name = "hotpath"
path = "examples/hotpath.rs"

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

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

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

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

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

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

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

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

[dependencies.hotpath]
version = "0.15"

[dependencies.indexmap]
version = "2.0"

[dependencies.rand]
version = "0.10"

[dependencies.slotmap]
version = "1.1"

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
clone_on_ref_ptr = "deny"
cloned_instead_of_copied = "deny"
collapsible_match = "deny"
dbg_macro = "deny"
disallowed_methods = "deny"
explicit_iter_loop = "deny"
if_same_then_else = "deny"
implicit_clone = "deny"
large_enum_variant = "deny"
let_underscore_must_use = "deny"
manual_string_new = "deny"
map_unwrap_or = "deny"
match_same_arms = "deny"
needless_borrow = "deny"
needless_pass_by_value = "deny"
ok_expect = "deny"
ptr_arg = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
redundant_locals = "deny"
regex_creation_in_loops = "deny"
semicolon_if_nothing_returned = "deny"
todo = "deny"
too_many_arguments = "deny"
uninlined_format_args = "deny"
unnecessary_sort_by = "deny"
unnecessary_unwrap = "deny"
unnested_or_patterns = "deny"
unwrap_in_result = "deny"
wrong_self_convention = "deny"

[lints.rust]
future_incompatible = "warn"
non_ascii_idents = "warn"
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unused = "warn"
variant_size_differences = "warn"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1