# 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 = "flutmax-parser"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser for .flutmax files (hand-written lexer + recursive descent)"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nordsound/flutmax"

[features]
default = []
tree-sitter-legacy = [
    "tree-sitter",
    "tree-sitter-flutmax",
]

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

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

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

[dependencies.tree-sitter]
version = "0.25"
optional = true

[dependencies.tree-sitter-flutmax]
version = "0.1.0"
optional = true

[dev-dependencies.tree-sitter]
version = "0.25"

[dev-dependencies.tree-sitter-flutmax]
version = "0.1.0"
