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.dev3

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

Source distribution (sdist)

Source distribution for rbtr-lang-rust 2026.9.0.dev3
File Size Uploaded
rbtr_lang_rust-2026.9.0.dev3.tar.gz 12.2 kB Details

Built distribution (wheel)

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

Total release size: 30.5 kB

Release files / rbtr_lang_rust-2026.9.0.dev3.tar.gz

Download URL rbtr_lang_rust-2026.9.0.dev3.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f0e3c0cbb3d767151e5cfc2b8ed369cc8ed7481a0902ef79e7f95cdcac9df713
BLAKE2b-256 checksum
How to use checksums
c8c6868dc1bf98fd2c21b5c8c2e99bcc1043a42caec6f9fb7017afc28edfae60
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.dev3-py3-none-any.whl

Download URL rbtr_lang_rust-2026.9.0.dev3-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfa3234092b3d99e21c61403c16df6b1b2762e93bc6e2d42a7469f371b53dcfe
BLAKE2b-256 checksum
How to use checksums
a78d2af4837a9e341f7d6939ac09bfd964e08e9ad9028cb5ec5fcd86a1fd82e1
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}
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