Skip to content

Rust: Implement Visitors in Rust Bindings#1260

Merged
marcoroth merged 1 commit into
mainfrom
rust-visitor
Feb 28, 2026
Merged

Rust: Implement Visitors in Rust Bindings#1260
marcoroth merged 1 commit into
mainfrom
rust-visitor

Conversation

@marcoroth

@marcoroth marcoroth commented Feb 28, 2026

Copy link
Copy Markdown
Owner

This pull request implements the Visitor-pattern in the Rust bindings that we established in the other bindings.

We also converted the rust/ directory to be a workspace, so we can later add more other crates as part of the Herb ecosystem.

Additionally:

  • We configure rustfmt to use 160 for the max-width
  • Implemented a new ERBNode trait
  • Implemented Location::from() to match the JavaScript/Ruby style

@pkg-pr-new

pkg-pr-new Bot commented Feb 28, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@1260
npx https://pkg.pr.new/@herb-tools/language-server@1260
npx https://pkg.pr.new/@herb-tools/linter@1260

commit: fbb0602

@github-actions

github-actions Bot commented Feb 28, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit fbb0602


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit a162858 into main Feb 28, 2026
20 checks passed
@marcoroth marcoroth deleted the rust-visitor branch February 28, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant