[[bench]]
harness = false
name = "comparison"
path = "benches/comparison.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.bincode]
version = "1.3"
[dependencies.blake3]
version = "1.5"
[dependencies.candle-core]
optional = true
version = "0.8"
[dependencies.candle-transformers]
optional = true
version = "0.8"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.dashmap]
version = "6.1"
[dependencies.figment]
features = ["yaml", "toml", "json", "env"]
version = "0.10"
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.memmap2]
version = "0.9"
[dependencies.notify]
optional = true
version = "6.1"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.petgraph]
version = "0.6"
[dependencies.rayon]
version = "1.8"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.tempfile]
version = "3.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tiktoken-rs]
version = "0.5"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.35"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dependencies.tree-sitter]
version = "0.25"
[dependencies.tree-sitter-bash]
version = "0.23"
[dependencies.tree-sitter-c]
version = "0.23"
[dependencies.tree-sitter-c-sharp]
version = "0.23"
[dependencies.tree-sitter-clojure]
version = "0.1"
[dependencies.tree-sitter-cpp]
version = "0.23"
[dependencies.tree-sitter-elixir]
version = "0.3"
[dependencies.tree-sitter-go]
version = "0.23"
[dependencies.tree-sitter-haskell]
version = "0.23"
[dependencies.tree-sitter-java]
version = "0.23"
[dependencies.tree-sitter-javascript]
version = "0.23"
[dependencies.tree-sitter-kotlin-ng]
version = "1.1"
[dependencies.tree-sitter-lua]
version = "0.2"
[dependencies.tree-sitter-ocaml]
version = "0.23"
[dependencies.tree-sitter-php]
version = "0.23"
[dependencies.tree-sitter-python]
version = "0.23"
[dependencies.tree-sitter-r]
version = "1"
[dependencies.tree-sitter-ruby]
version = "0.23"
[dependencies.tree-sitter-rust]
version = "0.23"
[dependencies.tree-sitter-scala]
version = "0.23"
[dependencies.tree-sitter-swift]
version = "0.6"
[dependencies.tree-sitter-typescript]
version = "0.23"
[dependencies.typed-builder]
version = "0.20"
[dependencies.unicode-segmentation]
version = "1.10"
[dependencies.url]
version = "2.5"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.rayon]
version = "1.8"
[dev-dependencies.tempfile]
version = "3.10"
[dev-dependencies.walkdir]
version = "2.4"
[[example]]
name = "parser_demo"
path = "examples/parser_demo.rs"
[features]
async = ["tokio", "async-trait"]
default = []
embeddings = ["candle-core", "candle-transformers"]
full = ["async", "embeddings", "watch"]
watch = ["notify"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "infiniloom_engine"
path = "src/lib.rs"
[lints.clippy]
assigning_clones = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
enum_variant_names = "allow"
items_after_statements = "allow"
len_without_is_empty = "allow"
literal_string_with_formatting_args = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
new_ret_no_self = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "allow"
result_unit_err = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match = "allow"
str_to_string = "warn"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_map_or = "allow"
useless_asref = "allow"
vec_init_then_push = "allow"
wrong_self_convention = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
meta_variable_misuse = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.rust.future_incompatible]
level = "deny"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = -1
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "parsing", "text-processing"]
description = "High-performance repository context engine for LLMs - AST parsing, token counting, and secret detection"
edition = "2021"
keywords = ["llm", "ai", "code", "ast", "tree-sitter"]
license = "MIT"
name = "infiniloom-engine"
readme = "README.md"
repository = "https://github.com/Topos-Labs/infiniloom"
rust-version = "1.91"
version = "0.4.11"
[[test]]
name = "config_comprehensive"
path = "tests/config_comprehensive.rs"
[[test]]
name = "context_expansion_tests"
path = "tests/context_expansion_tests.rs"
[[test]]
name = "dependencies_comprehensive"
path = "tests/dependencies_comprehensive.rs"
[[test]]
name = "encoding_tests"
path = "tests/encoding_tests.rs"
[[test]]
name = "git_remote_tests"
path = "tests/git_remote_tests.rs"
[[test]]
name = "index_comprehensive"
path = "tests/index_comprehensive.rs"
[[test]]
name = "output_golden_tests"
path = "tests/output_golden_tests.rs"
[[test]]
name = "parser_all_languages"
path = "tests/parser_all_languages.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "query_deduplication_tests"
path = "tests/query_deduplication_tests.rs"
[[test]]
name = "repomap_comprehensive"
path = "tests/repomap_comprehensive.rs"
[[test]]
name = "security_comprehensive"
path = "tests/security_comprehensive.rs"
[[test]]
name = "stress_tests"
path = "tests/stress_tests.rs"
[[test]]
name = "string_slicing_boundary_tests"
path = "tests/string_slicing_boundary_tests.rs"
[[test]]
name = "tokenizer_comprehensive"
path = "tests/tokenizer_comprehensive.rs"
[[test]]
name = "tree_sitter_compat"
path = "tests/tree_sitter_compat.rs"
[[test]]
name = "unicode_boundary_tests"
path = "tests/unicode_boundary_tests.rs"
[[test]]
name = "v045_feature_tests"
path = "tests/v045_feature_tests.rs"