rust

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Overview

Package rust is the Rust implementation of the affected-selection language seam.

A unit is one Cargo package, including one workspace member. Cargo can address that unit through its member Cargo.toml without relying on a package name being unique elsewhere in the repository. Package dependency edges are read from manifests and test anchors from Rust source text; Cargo, rustc, and test binaries are never executed.

Index

Constants

View Source
const (
	FrontierConditionalCompilation = "rust:conditional-compilation"
	FrontierCucumberOwnership      = "rust:cucumber-feature-ownership-unresolved"
	FrontierCustomHarness          = "rust:custom-test-harness"
	FrontierGeneratedSource        = "rust:generated-source"
	FrontierGeneratedTests         = "rust:generated-test-discovery"
	FrontierManifest               = "rust:manifest-unresolved"
	FrontierNextestDoctest         = "rust:nextest-doctest-unsupported"
	FrontierSourceOutsidePackage   = "rust:source-outside-cargo-package"
	FrontierTargetConfiguration    = "rust:test-target-configuration"
	FrontierUnreadableSource       = "rust:unreadable-source"
	FrontierWebDriverRuntime       = "rust:webdriver-runtime"
)

Frontier reasons this plugin can raise.

Variables

This section is empty.

Functions

This section is empty.

Types

type Language

type Language struct{}

Language observes Cargo packages under one repository root.

func New

func New() Language

New returns the Rust language plugin.

func (Language) Name

func (Language) Name() string

Name is the plugin namespace.

func (Language) Owns

func (Language) Owns(relative string) bool

Owns reports whether a path is Rust source text. Cargo and Gherkin inputs are intentionally not claimed: both can be shared with other language plugins.

func (Language) Units

func (Language) Units(root string) (affected.Result, error)

Units observes every Cargo package in the repository rooted at root.

Jump to

Keyboard shortcuts

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