-
Notifications
You must be signed in to change notification settings - Fork 0
Rust migration #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust migration #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the entire codebase from Deno Fresh/TypeScript to Rust with Axum web framework. The migration removes all TypeScript/Deno code and implements equivalent functionality in Rust while maintaining the same blog features including Markdown parsing, GitHub Flavored Markdown support, syntax highlighting, and asset serving.
Key Changes:
- Complete rewrite from Deno Fresh/TypeScript to Rust with Axum framework
- Replaced Preact components with Askama templates for server-side rendering
- Updated build system to use Cargo with NPM for CSS compilation via build.rs
- Migrated all functionality including routing, markdown processing, and configuration
Reviewed Changes
Copilot reviewed 48 out of 51 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/* | New Rust implementation with main.rs, handlers, markdown processing, config, models, templates, and assets |
| templates/* | New Askama HTML templates replacing TSX components |
| Cargo.toml | Rust project configuration with dependencies |
| build.rs | Build script for TailwindCSS compilation |
| Dockerfile | Updated to use Rust builder instead of Deno |
| package.json | Added for CSS processing dependencies |
| README.md | Updated documentation for Rust workflow |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
a4d9d42 to
3cfbf9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 49 out of 52 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
3cfbf9b to
2f694f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 49 out of 52 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This removes all Deno code and migrates to Rust with a sprinkle of NPM for CSS