# 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"
name = "py-canon"
version = "0.3.1"
authors = ["prostomarkeloff"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python source → CPython ast.dump-shape canonicalization + module-level definition scan (Ruff parser). The Python frontend for find-dup-defs."
readme = "README.md"
keywords = [
    "python",
    "ast",
    "canonicalize",
    "parsing",
    "clone",
]
categories = [
    "parser-implementations",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/prostomarkeloff/find-dup-defs"

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

[[example]]
name = "verify_golden"
path = "examples/verify_golden.rs"

[dependencies.dup-defs-core]
version = "0.1"

[dependencies.littrs-ruff-python-ast]
version = "0.6.2"

[dependencies.littrs-ruff-python-parser]
version = "0.6.2"

[dependencies.littrs-ruff-text-size]
version = "0.6.2"

[dependencies.rayon]
version = "1"

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

[dev-dependencies.walkdir]
version = "2"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1
