# 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 = "lex-bytecode"
version = "0.9.14"
authors = ["Alpibrupa <https://github.com/alpibrupa>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bytecode compiler + VM for Lex."
homepage = "https://github.com/alpibrusl/lex-lang"
readme = false
keywords = [
    "lex",
    "agent",
    "effects",
    "language",
]
categories = [
    "compilers",
    "development-tools",
]
license = "EUPL-1.2"
repository = "https://github.com/alpibrusl/lex-lang"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "alloc_heavy"
path = "benches/alloc_heavy.rs"
harness = false

[[bench]]
name = "dispatch"
path = "benches/dispatch.rs"
harness = false

[[bench]]
name = "field_access"
path = "benches/field_access.rs"
harness = false

[[bench]]
name = "response_build"
path = "benches/response_build.rs"
harness = false

[[bench]]
name = "tuple_build"
path = "benches/tuple_build.rs"
harness = false

[dependencies.arrow-array]
version = "58"

[dependencies.arrow-schema]
version = "58"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.lex-ast]
version = "0.9.6"

[dependencies.lex-types]
version = "0.9.6"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.smol_str]
version = "0.3"
features = ["serde"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.lex-syntax]
version = "0.9.6"
