# 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"
rust-version = "1.63"
name = "ast-grep-language"
version = "0.2.0"
authors = ["Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>"]
description = "Search and Rewrite code at large scale using precise AST pattern"
keywords = [
    "ast",
    "pattern",
    "codemod",
    "search",
    "rewrite",
]
license = "MIT"
repository = "https://github.com/ast-grep/ast-grep"
resolver = "1"

[dependencies.ast-grep-core]
version = "0.2.0"

[dependencies.ignore]
version = "0.4.20"

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

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

[dependencies.tree-sitter-c-sharp]
version = "0.20.0"
optional = true
package = "ast-grep-tree-sitter-c-sharp"

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

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

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

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

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

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

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

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

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

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

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

[features]
builtin-parser = [
    "tree-sitter-c",
    "tree-sitter-dart",
    "tree-sitter-go",
    "tree-sitter-html",
    "tree-sitter-java",
    "tree-sitter-javascript",
    "tree-sitter-kotlin",
    "tree-sitter-lua",
    "tree-sitter-python",
    "tree-sitter-rust",
    "tree-sitter-swift",
    "tree-sitter-typescript",
    "tree-sitter-c-sharp",
]
default = ["builtin-parser"]
