libcst 1.9.0

A Python parser and Concrete Syntax Tree library.
Documentation
# 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.83"
name = "libcst"
version = "1.9.0"
authors = ["LibCST Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"

[features]
default = ["py"]
py = [
    "pyo3",
    "pyo3/extension-module",
]
trace = ["peg/trace"]

[lib]
name = "libcst_native"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "parse"
path = "src/bin.rs"

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

[[bench]]
name = "parser_benchmark"
path = "benches/parser_benchmark.rs"
harness = false

[dependencies.annotate-snippets]
version = "0.11.5"

[dependencies.libcst_derive]
version = "1.9.0"

[dependencies.memchr]
version = "2.7.4"

[dependencies.paste]
version = "1.0.15"

[dependencies.peg]
version = "0.8.5"

[dependencies.pyo3]
version = "0.29"
optional = true

[dependencies.regex]
version = "1.11.2"

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.criterion]
version = "0.6.0"
features = ["html_reports"]

[dev-dependencies.difference]
version = "2.0.0"

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.rayon]
version = "1.11.0"