# 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 = "bbnf-ir"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical Grammar IR for the BBNF compiler pipeline"
readme = false
license = "MIT"
repository = "https://github.com/mkbabb/bbnf-lang"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1.11"
features = ["perf"]

[dependencies.rmp-serde]
version = "1"

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

[dependencies.serde_json]
version = "1"
