Skip to content

Conversation

@RAprogramm
Copy link
Owner

Summary

  • Add 4 working examples: basic, bootstrap, tailwind, nested-routes
  • Update README with examples section
  • Exclude examples from crates.io publish

Examples

Example Description
basic Simple navigation with Home, About, Contact pages
bootstrap Integration with Bootstrap 5 navbar
tailwind Sidebar navigation styled with Tailwind CSS
nested-routes Multi-level navigation with nested routing

Test plan

  • All examples compile with cargo check
  • Run each example with trunk serve and verify navigation works

- basic: simple navigation with Home/About/Contact
- bootstrap: Bootstrap 5 navbar integration
- tailwind: sidebar navigation with Tailwind CSS
- nested-routes: multi-level navigation demo

Examples excluded from crates.io publish.
@github-actions
Copy link

github-actions bot commented Dec 16, 2025

Rust Diff Analysis

Tip

PR size is within limits. Good job keeping changes focused!

Limits — configured thresholds for this repository

Each metric is compared against its configured maximum. If any limit is exceeded, the PR check fails.

Metric Value Limit Status
Production Units 0 30
Weighted Score 0 100
Lines Added 0 100

Understanding the metrics:

  • Production Units: Functions, structs, enums, traits, and other semantic code units in production code
  • Weighted Score: Complexity score based on unit types (public APIs weigh more than private)
  • Lines Added: Raw count of new lines in production code
Summary — breakdown of changes by category

Production code counts toward limits. Test code is tracked but doesn't affect limits.

Metric Production Test
Functions 0 -
Structs/Enums 0 -
Other 0 -
Lines added +0 +511
Lines removed -0 -0
Total units 0 32
Analysis Scope

Analyzed: 4 Rust files

Skipped files:

  • 19 non-Rust files

Rust Diff Analyzer

@github-actions
Copy link

github-actions bot commented Dec 16, 2025

Cargo Quality Analysis

Tip

All quality checks passed. Code meets all standards!

Results — issues found by each analyzer

Each analyzer checks for specific code patterns. Zero issues means the check passed.

Analyzer Issues Status
path_import 0
format_args 0
empty_lines 0
inline_comments 0
Total 0
Analyzers — what each check does

These analyzers enforce consistent code style and best practices.

Analyzer Description How to fix
path_import Detects inline path imports like std::path::Path Use use statements at the top
format_args Detects format!("{}", x) patterns Use format!("{x}") syntax
empty_lines Detects empty lines inside function bodies Remove extra blank lines
inline_comments Detects // comment inside functions Move to doc comments or remove
Raw Output — detailed analysis log
error: unrecognized subcommand 'check'

Usage: cargo <COMMAND>

For more information, try '--help'.

Cargo Quality

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@RAprogramm RAprogramm merged commit 7ebe9b0 into main Dec 16, 2025
7 checks passed
@RAprogramm RAprogramm deleted the feat/examples branch December 16, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant