rbtr-lang-rust
Rust support for rbtr. Optional plugin — install with
pip install rbtr[rust].
What it ingests
- Functions & methods —
fn; functions inside animplare methods scoped to the type. - Classes —
struct,enum,trait, andimplblocks (animpl Svcandstruct Svcboth yield aSvcclass chunk). - Variables — module-level
const/static. - Imports —
usedeclarations (scoped paths resolved), for cross-file edges. - Attributes —
#[derive(...)],#[serde(...)]and the rest fold into the item below them, so a type is findable by the traits it derives. A module-level#![allow(...)], with no item under it, is its own chunk.
Leading /// / //! doc comments fold into the symbol's content, together
with any attribute between the comment and the item.
Chunks produced
fn greet(name: &str) -> String { … } // function "greet"
struct Server { … } // class "Server"
impl Server { fn start(&self) {} } // class "Server"; method "start", scope "Server"
const MAX: u32 = 100; // variable "MAX"
use crate::config::Config; // import, metadata {module: crate::config::Config}
Embedded / injected chunks
None. Rust does not embed other languages.
Grammar & dependencies
Uses the tree-sitter-rust grammar. No dependency on other language plugins.
Metadata
Release files for rbtr-lang-rust 2026.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_rust-2026.9.0.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_rust-2026.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.4 kB
Release files / rbtr_lang_rust-2026.9.0.tar.gz
| Download URL | rbtr_lang_rust-2026.9.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e17a81682b53319373c1d4130871259b1987296c5fe24e1f2b1b59d560922af5
|
|
BLAKE2b-256 checksum How to use checksums |
5c42bd989ad548571a48a6503707411ae2c721680d1c2ab4ad57706cd0fc9107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rbtr_lang_rust-2026.9.0-py3-none-any.whl
| Download URL | rbtr_lang_rust-2026.9.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69b803abfac517e7a6ad4ea1f3939a60f2065f1cc44488e896185f2a8d1db238
|
|
BLAKE2b-256 checksum How to use checksums |
224af84c33abcfa2b79dd05b9e257273ba63ad408620a4e692f09d9f6ac774ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|