salvo-path-syntax

Migrate Salvo route path parameters from angle-bracket to curly-brace syntax.

20|5|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-path-syntax
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: salvo-path-syntax
Source: https://github.com/salvo-rs/salvo-skills/tree/main/skills/salvo-path-syntax
Command: npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-path-syntax

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Path parameter syntax in Salvo has evolved; this guide helps developers understand current {} syntax and migrate from deprecated <> syntax.

Core Features & Use Cases

  • Clarifies the differences between the 0.76+ {} syntax and the pre-0.76 <> syntax.
  • Offers migration steps, examples, and best practices for consistent route definitions in Salvo projects.
  • Provides practical routing patterns and parameter extraction guidance for common use cases.

Quick Start

Use a route example that demonstrates the current curly-brace syntax in a simple, real-world scenario.

Frequently Asked Questions about salvo-path-syntax

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Salvo route parameters from angle-bracket to curly-brace syntax?▼

To migrate Salvo route parameters, replace deprecated angle-bracket <> syntax with curly-brace {} syntax introduced in version 0.76. Update route definitions, verify parameter extraction, and apply consistent path patterns to ensure future-proof routing.

What is the correct path parameter syntax for Salvo routing?▼

The correct Salvo path parameter syntax uses curly braces, such as {id}, for route definitions. This replaces the older angle-bracket format and provides standardized parameter extraction for robust routing in Rust projects.

Why did my Salvo route definitions break after a framework update?▼

Salvo route definitions break after updates because the path parameter syntax changed from angle brackets to curly braces. Migrating to the current {} syntax resolves routing failures and ensures compatibility with newer Salvo versions.

Can I use wildcards in Salvo path patterns for routing?▼

Yes, Salvo path patterns support wildcards for flexible route matching. Combined with curly-brace parameter syntax, wildcards enable robust dynamic routing definitions for common use cases in Rust web projects.

What's the best way to standardize Salvo routing patterns across versions?▼

Standardizing Salvo routing patterns requires adopting the current curly-brace syntax, applying consistent path definitions, and following migration best practices. This ensures robust route matching and compatibility across future framework updates.