# 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 = "2018" rust-version = "1.70" name = "libcst" version = "1.5.1" authors = ["LibCST Developers"] description = "A Python parser and Concrete Syntax Tree library." documentation = "https://libcst.rtfd.org" readme = "README.md" keywords = [ "python", "cst", "ast", ] categories = ["parser-implementations"] license = "MIT AND (MIT AND PSF-2.0)" repository = "https://github.com/Instagram/LibCST" [lib] name = "libcst_native" crate-type = [ "cdylib", "rlib", ] [[bin]] name = "parse" path = "src/bin.rs" [[bench]] name = "parser_benchmark" harness = false [dependencies.chic] version = "1.2.2" [dependencies.libcst_derive] version = "1.4.0" [dependencies.memchr] version = "2.7.4" [dependencies.paste] version = "1.0.15" [dependencies.peg] version = "0.8.4" [dependencies.pyo3] version = "0.20" optional = true [dependencies.regex] version = "1.10.6" [dependencies.thiserror] version = "1.0.63" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.difference] version = "2.0.0" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.rayon] version = "1.10.0" [features] default = ["py"] py = [ "pyo3", "pyo3/extension-module", ] trace = ["peg/trace"]