Skip to content
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

Refactor CV project from JavaScript/TypeScript to Rust #1

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

danielmain
Copy link
Owner

@danielmain danielmain commented Sep 17, 2024

Description:

image

This pull request introduces a complete refactor of the CV project, transitioning from JavaScript/TypeScript to Rust. The new implementation leverages the Dioxus framework for UI rendering, the comrak library for Markdown parsing, and the manganis library for asset management.

Key improvements:

  • Performance: Rust's inherent efficiency and Dioxus's virtual DOM implementation offer potential performance gains compared to the previous JavaScript/TypeScript stack.
  • Maintainability: The use of Rust's strong type system and modern tooling can improve code maintainability and reduce potential runtime errors.
  • Ecosystem: The Rust ecosystem offers a wealth of libraries and tools that can be leveraged to enhance the CV project's functionality further in the future.

Specific changes:

  • Replaced React with Dioxus: The UI components and rendering logic have been rewritten using Dioxus, providing a similar development experience with improved performance characteristics.
  • Integrated comrak for Markdown parsing: The comrak library efficiently converts Markdown content to HTML, facilitating dynamic CV rendering.
  • Introduced manganis for asset handling: The manganis library streamlines the inclusion of static assets like CSS files, improving code organization.
  • Refactored Tailwind configuration: The Tailwind configuration has been adapted to work seamlessly with the Rust-based project structure.

Additional notes:

  • This refactor focuses primarily on the core CV rendering functionality. Further enhancements and feature additions can be explored in subsequent pull requests.
  • Thorough testing has been conducted to ensure the new implementation renders the CV accurately and consistently across different browsers.

Overall, this refactor represents a significant step forward in modernizing the CV project and laying a solid foundation for future development.

Please review the changes carefully and provide feedback.

I hope this pull request description is helpful! Feel free to adapt or modify it further to fit your specific needs and project context.

@danielmain danielmain changed the title Rust revamp Refactor CV project from JavaScript/TypeScript to Rust Sep 17, 2024
@danielmain danielmain self-assigned this Sep 17, 2024
@danielmain danielmain merged commit e00cf8e into main Sep 18, 2024
1 check failed
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