# 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"
version = "0.21.1"
authors = ["Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>"]
default-run = "sg"
description = "Search and Rewrite code at large scale using precise AST pattern"
homepage = "https://ast-grep.github.io/"
documentation = "https://ast-grep.github.io/guide/introduction.html"
readme = "README.md"
keywords = [
    "ast",
    "pattern",
    "codemod",
    "search",
    "rewrite",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "parsing",
]
license-file = "LICENSE"
repository = "https://github.com/ast-grep/ast-grep"

[[bin]]
name = "sg"
path = "src/main.rs"

[[bin]]
name = "ast-grep"
path = "src/bin/ast-grep.rs"

[dependencies.ansi_term]
version = "0.12"

[dependencies.anyhow]
version = "1.0.82"

[dependencies.ast-grep-config]
version = "0.21.1"

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

[dependencies.ast-grep-dynamic]
version = "0.21.1"

[dependencies.ast-grep-language]
version = "0.21.1"

[dependencies.ast-grep-lsp]
version = "0.21.1"

[dependencies.atty]
version = "0.2.14"

[dependencies.bit-set]
version = "0.5.3"

[dependencies.clap]
version = "4.5.4"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.1"

[dependencies.codespan-reporting]
version = "0.11.1"

[dependencies.crossterm]
version = "0.27.0"

[dependencies.ignore]
version = "0.4.22"

[dependencies.inquire]
version = "0.7.4"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.regex]
version = "1.10.4"

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

[dependencies.serde_json]
version = "1.0.115"

[dependencies.serde_yaml]
version = "0.9.33"

[dependencies.similar]
version = "2.5.0"
features = ["inline"]

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "io-std",
]

[dev-dependencies.assert_cmd]
version = "2.0.14"

[dev-dependencies.predicates]
version = "3.1.0"

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