rust

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package rust provides Rust chunking using tree-sitter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider chunks Rust files using tree-sitter.

func New

func New() *Provider

New creates a new Rust chunking provider.

func (*Provider) Chunk

func (p *Provider) Chunk(_ context.Context, _ string, content []byte) ([]chisel.Chunk, error)

Chunk parses Rust source and extracts semantic chunks.

func (*Provider) Language

func (p *Provider) Language() chisel.Language

Language returns the Rust language identifier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL