Skip to main content
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 an impl are methods scoped to the type.
  • Classes — struct, enum, trait, and impl blocks (an impl Svc and struct Svc both yield a Svc class chunk).
  • Variables — module-level const / static.
  • Imports — use declarations (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.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-rust 2026.9.0.dev0
File Interpreter ABI Platform
rbtr_lang_rust-2026.9.0.dev0-py3-none-any.whl Python 3 none any Details

Release files / rbtr_lang_rust-2026.9.0.dev0-py3-none-any.whl

Download URL rbtr_lang_rust-2026.9.0.dev0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faa37974a51a7756032a3161d72f8b7797a58b58cf7b81c59351ee74e8e427ba
BLAKE2b-256 checksum
How to use checksums
3a155c3e12297c72b18d8d7b3d8b589cf95916d24b0a6e2c2ee07bbc3f133525
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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page