# 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-pyo3" version = "0.13.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" [lib] name = "ast_grep_pyo3" crate-type = ["cdylib"] [dependencies.anyhow] version = "1.0.75" [dependencies.ast-grep-config] version = "0.13.0" [dependencies.ast-grep-core] version = "0.13.0" [dependencies.ast-grep-language] version = "0.13.0" [dependencies.once_cell] version = "1.18.0" [dependencies.pyo3] version = "0.20.0" features = ["anyhow"] optional = true [dependencies.pythonize] version = "0.20.0" optional = true [features] python = [ "pythonize", "pyo3", "pyo3/extension-module", ]