Metadata-Version: 2.4
Name: rbtr-lang-toml
Version: 2026.9.0
Summary: rbtr — TOML language plugin
Keywords: code-search,code-index,tree-sitter,static-analysis,semantic-search,developer-tools,toml
Author: Alejandro Giacometti
Author-email: Alejandro Giacometti <alejandro.giacometti@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Text Processing :: Indexing
Classifier: Typing :: Typed
Requires-Dist: rbtr==2026.9.0
Requires-Dist: tree-sitter-toml
Requires-Python: >=3.13
Project-URL: Homepage, https://github.com/janrito/rbtr
Project-URL: Repository, https://github.com/janrito/rbtr
Project-URL: Documentation, https://github.com/janrito/rbtr/tree/main/packages/rbtr-lang-toml#readme
Project-URL: Issues, https://github.com/janrito/rbtr/issues
Project-URL: Changelog, https://github.com/janrito/rbtr/releases
Description-Content-Type: text/markdown

# rbtr-lang-toml

TOML support for [rbtr]. Optional plugin — install with
`pip install rbtr[toml]`.

[rbtr]: https://github.com/janrito/rbtr/tree/main/packages/rbtr#readme

## What it ingests

Tables and array-tables become **config-key** chunks (TOML is data, not code).
A dotted table splits into its last-segment name plus the preceding path as
scope.

A `path` dependency — `helper = { path = "crates/helper" }`, as Cargo and
Poetry write a local package — becomes an **import**. It names a directory,
and the manifest inside it (`Cargo.toml`, `pyproject.toml`) is what the edge
reaches.

## Chunks produced

```toml
[project]              # config_key "project"
[tool.ruff]            # config_key "ruff",   scope "tool"
[tool.ruff.lint]       # config_key "lint",   scope "tool::ruff"
[[locales]]            # config_key "locales"
```

## Embedded / injected chunks

None. TOML does not embed other languages.

## Grammar & dependencies

Uses the `tree-sitter-toml` grammar. No dependency on other language plugins.
