# 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 = "car-ast"
version = "0.28.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tree-sitter AST parsing for code-aware inference"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Parslee-ai/car"

[features]
bash = ["dep:tree-sitter-bash"]
c = ["dep:tree-sitter-c"]
cpp = ["dep:tree-sitter-cpp"]
csharp = ["dep:tree-sitter-c-sharp"]
css = ["dep:tree-sitter-css"]
dart = ["dep:tree-sitter-dart"]
default = [
    "rust",
    "python",
    "typescript",
    "javascript",
    "go",
    "csharp",
    "java",
    "c",
    "cpp",
    "ruby",
    "php",
    "swift",
    "kotlin",
    "scala",
    "dart",
    "zig",
    "lua",
    "elixir",
    "haskell",
    "r",
    "bash",
    "html",
    "css",
    "json",
]
elixir = ["dep:tree-sitter-elixir"]
go = ["dep:tree-sitter-go"]
haskell = ["dep:tree-sitter-haskell"]
html = ["dep:tree-sitter-html"]
java = ["dep:tree-sitter-java"]
javascript = ["dep:tree-sitter-javascript"]
json = ["dep:tree-sitter-json"]
kotlin = ["dep:tree-sitter-kotlin-ng"]
lua = ["dep:tree-sitter-lua"]
php = ["dep:tree-sitter-php"]
python = ["dep:tree-sitter-python"]
r = ["dep:tree-sitter-r"]
ruby = ["dep:tree-sitter-ruby"]
rust = ["dep:tree-sitter-rust"]
scala = ["dep:tree-sitter-scala"]
swift = ["dep:tree-sitter-swift"]
typescript = ["dep:tree-sitter-typescript"]
zig = ["dep:tree-sitter-zig"]

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

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

[dependencies.ignore]
version = "0.4"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tree-sitter]
version = "0.26"

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

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

[dependencies.tree-sitter-c-sharp]
version = "0.23"
optional = true

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

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

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

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

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

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

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

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

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

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

[dependencies.tree-sitter-kotlin-ng]
version = "1.1"
optional = true

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

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

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

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

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

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

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

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

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

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

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

[dev-dependencies.tracing-test]
version = "0.2"
