codefold-core 0.8.0

Structural code reader for LLM agents — `Read`, with zoom levels. Python, TypeScript, Rust, Go.
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 = "2021"
rust-version = "1.77"
name = "codefold-core"
version = "0.8.0"
authors = ["maxenceleguery <maxence.leguery@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structural code reader for LLM agents — `Read`, with zoom levels. Python, TypeScript, Rust, Go."
homepage = "https://codefold.maxenceleguery.net"
documentation = "https://docs.rs/codefold-core"
readme = "README.md"
keywords = [
    "llm",
    "ai",
    "code",
    "parser",
    "tree-sitter",
]
categories = [
    "development-tools",
    "parser-implementations",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/maxenceleguery/codefold"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.once_cell]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tiktoken-rs]
version = "0.6"

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

[dependencies.tree-sitter-go]
version = "0.21"

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

[dependencies.tree-sitter-rust]
version = "0.21"

[dependencies.tree-sitter-typescript]
version = "0.21"

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

[dev-dependencies.insta]
version = "1"
features = ["yaml"]