Cargo-Leptos Configuration Manager

0•

Configures and optimizes cargo-leptos metadata for Rust full-stack web applications.

The cargo-leptos-config skill provides expert guidance for setting up and maintaining the build configuration for Leptos SSR applications. It automates the generation of [package.metadata.leptos] and [[workspace.metadata.leptos]] blocks, ensuring correct feature flags for server and hydration targets, managing Tailwind CSS integration, and aligning server function prefixes with Axum backends to prevent common build and runtime errors.

主な機能

01Validation of server function prefixes to prevent routing 404s
02Optimized feature flag management for binary (SSR) and library (hydrate) targets
03Automated Cargo.toml metadata configuration for single-crate and workspace projects
04Debugging support for cargo-leptos build and watch failures
050 GitHub stars
06Seamless Tailwind CSS integration and asset directory management

ユースケース

01Initializing a new full-stack Leptos project with correct SSR and hydration settings
02Integrating Tailwind CSS into a cargo-leptos build pipeline without configuration conflicts
03Migrating a workspace from a single crate to a multi-package architecture