Pre-release
This release is a pre-release and may not be stable for production use.
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.dev1
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.dev1.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_rust-2026.9.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.5 kB
Release files / rbtr_lang_rust-2026.9.0.dev1.tar.gz
| Download URL | rbtr_lang_rust-2026.9.0.dev1.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3acb6609cd7d60fbaa898344f4699df60e8508f247012af8ec169e5898f37b25
|
|
BLAKE2b-256 checksum How to use checksums |
526ea2b6f58b6afe1ccf380022b43bc2fbbb118f727269f93edf6a987111975e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rbtr_lang_rust-2026.9.0.dev1-py3-none-any.whl
| Download URL | rbtr_lang_rust-2026.9.0.dev1-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bef667423eef1ce3796500db30ab05c51ce11c75d62555c84f33099e41f6cf4
|
|
BLAKE2b-256 checksum How to use checksums |
ea4fa845e874161c32b25be5a03bc1c055283e45c6470be51e384f7e851700af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|