# 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.89"
name = "readseek"
version = "0.4.26"
authors = ["Jarkko Sakkinen <jarkko.sakkinen@iki.fi>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "structural source reader with stable line hashes"
homepage = "https://github.com/jarkkojs/readseek"
readme = "README.md"
license = "LGPL-2.1-or-later"
repository = "https://github.com/jarkkojs/readseek"

[[bin]]
name = "readseek"
path = "src/main.rs"

[[test]]
name = "data"
path = "tests/data.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.arborium-meson]
version = "2.18"

[dependencies.argh]
version = "0.1.13"

[dependencies.blake3]
version = "1.8"

[dependencies.codebook-tree-sitter-latex]
version = "0.6.1"

[dependencies.codebook-tree-sitter-typst]
version = "0.12.1"

[dependencies.crc]
version = "3.4.0"

[dependencies.dirs]
version = "6"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.env_logger]
version = "0.11"

[dependencies.git2]
version = "0.20"
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.imagesize]
version = "0.14"

[dependencies.indicatif]
version = "0.17"

[dependencies.infer]
version = "0.19"

[dependencies.llama-cpp-2]
version = "0.1"
features = ["mtmd"]

[dependencies.log]
version = "0.4"

[dependencies.memchr]
version = "2.7"

[dependencies.num_cpus]
version = "1.17"

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.strum]
version = "0.27"

[dependencies.strum_macros]
version = "0.27"

[dependencies.syntect]
version = "5.2"
features = [
    "default-syntaxes",
    "parsing",
    "regex-fancy",
]
default-features = false

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

[dependencies.tree-sitter-asm]
version = "0.24.0"

[dependencies.tree-sitter-bash]
version = "0.25"

[dependencies.tree-sitter-c]
version = "0.24"

[dependencies.tree-sitter-c-sharp]
version = "0.23"

[dependencies.tree-sitter-containerfile]
version = "0.8"

[dependencies.tree-sitter-cpp]
version = "0.23"

[dependencies.tree-sitter-css]
version = "0.25"

[dependencies.tree-sitter-gdscript]
version = "6.1.0"

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

[dependencies.tree-sitter-html]
version = "0.23"

[dependencies.tree-sitter-java]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-json]
version = "0.24"

[dependencies.tree-sitter-just]
version = "0.2"

[dependencies.tree-sitter-kconfig]
version = "1.3.0"

[dependencies.tree-sitter-lua]
version = "0.5"

[dependencies.tree-sitter-make]
version = "1.1"

[dependencies.tree-sitter-md-025]
version = "0.5.6"
features = ["parser"]

[dependencies.tree-sitter-nix]
version = "0.3"

[dependencies.tree-sitter-php]
version = "0.24"

[dependencies.tree-sitter-puppet]
version = "1.3"

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

[dependencies.tree-sitter-riscv]
version = "0.3.1"

[dependencies.tree-sitter-ruby]
version = "0.23"

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

[dependencies.tree-sitter-sequel]
version = "0.3.11"

[dependencies.tree-sitter-swift]
version = "0.7.3"

[dependencies.tree-sitter-toml-ng]
version = "0.7.0"

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

[dependencies.tree-sitter-vim]
version = "0.4.0"

[dependencies.tree-sitter-xml]
version = "0.7"

[dependencies.tree-sitter-yaml]
version = "0.7"

[dependencies.tree-sitter-zig]
version = "1.1"

[dependencies.ts-parser-perl]
version = "1.1"

[dependencies.ureq]
version = "3"

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh32"]

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]

[dev-dependencies.duct]
version = "1"

[dev-dependencies.serde_json]
version = "1.0"

[profile.release]
lto = "thin"
codegen-units = 1
