[package]
name = "ai-refactor-cli"
version = "0.2.0"
edition = "2021"
rust-version = "1.75"
authors = ["Masaaki Ito <info@locallab.jp>"]
description = "Rule-based legacy code refactoring CLI (TypeScript any / Python typing / Django FBV→CBV). Complement to general AI coding agents."
license = "Apache-2.0"
readme = "README.md"
repository = "https://gitlab.com/locallab1/ai-refactor-cli"
homepage = "https://gitlab.com/locallab1/ai-refactor-cli"
documentation = "https://docs.rs/ai-refactor-cli"
keywords = ["refactoring", "cli", "python", "django", "tree-sitter"]
categories = ["command-line-utilities", "development-tools"]
[lib]
name = "ai_refactor_cli"
path = "src/lib.rs"
[[bin]]
name = "ai-refactor"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util"] }
walkdir = "2.5"
regex = "1.10"
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tree-sitter = "0.22"
tree-sitter-python = "0.21"
[dev-dependencies]
tempfile = "3"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "check_bench"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true