kartta-lang-python 0.0.0

Python extraction for the kartta code graph: functions, classes, fields, calls and imports
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 = "2024"
rust-version = "1.99"
name = "kartta-lang-python"
version = "0.0.0"
authors = ["Gaijin Entertainment"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python extraction for the kartta code graph: functions, classes, fields, calls and imports"
readme = "README.md"
keywords = [
    "code-graph",
    "python",
    "tree-sitter",
    "static-analysis",
    "symbols",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/GaijinEntertainment/kartta"

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

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

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

[dependencies.kartta-lang]
version = "0.0.0"
features = ["tree-sitter"]

[dependencies.tree-sitter]
version = "0.27.1"

[dependencies.tree-sitter-python]
version = "0.25.0"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
clone_on_ref_ptr = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
excessive_nesting = "warn"
exit = "warn"
expect_used = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
redundant_pub_crate = "allow"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

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

[lints.clippy.nursery]
level = "warn"
priority = -1

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

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"