# 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.75.0"
name = "codemod-core"
version = "0.1.2"
authors = ["codemod-pilot contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for codemod-pilot: pattern inference, matching, and transformation"
readme = "README.md"
keywords = [
    "codemod",
    "refactoring",
    "ast",
    "tree-sitter",
    "code-transformation",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/codemod-pilot/codemod-pilot"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.globset]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.similar]
version = "2.6"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.walkdir]
version = "2.5"

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