Closed anshumalivfx closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
rustcrab | ❌ Failed (Inspect) | Jul 15, 2024 6:09pm |
The changes introduce a new Rust Playground feature into the project. This involves adding necessary dependencies, creating new React components like RustCompilerSection
, CodeEditorWindow
, and OutputWindow
, updating routing and API handling for code execution, and making minor formatting adjustments for consistency across several files.
File/Directory | Summary |
---|---|
package.json |
Added dependencies @codeium/react-code-editor and monaco-editor . |
src/app/api/execute-code/route.ts |
Introduced a function POST to handle code execution requests via Axios. |
src/app/globals.css |
Added an extra newline at the end of the file. |
src/app/page.tsx |
Updated import statements, added RustCompilerSection , and improved text formatting. |
src/components/RustCompilerSection.tsx |
Added a React component for a Rust Playground interface. |
src/components/RustPlaygroundComponents/CodeEditor.tsx |
Introduced a React component CodeEditorWindow for code editing functionality using Monaco Editor. |
src/components/RustPlaygroundComponents/OutputWindow.tsx |
Defined a React component OutputWindow to display code execution output and related information. |
src/components/RustPlaygroundComponents/Terminal.css |
Introduced styles for the terminal card component. |
src/components/navbar/MobileNav.tsx |
Updated import statements, menu items, and event listener methods to use double quotes. Added "Rust Playground" link. |
src/components/navbar/Navbar.tsx |
Updated import statements and menu items formatting. Added "Rust Playground" link. |
In the heart of code, where bytes do play,
A Rusty playground joins the fray.
With Monaco's might and features grand,
New horizons at your command.
Execute and see the magic flow,
All in a rabbit's joyful glow.
🐇🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
hey Anshu, thanks for the PR
Please solve the conflicts
we have an error during the build
Hi @FrancescoXX Thanks for replying I'll surely check the conflicts and make another pull request
you can just update this one, but as you wish
Description
Added Rust Playground to run Snippet
Requirements
JDoodle API Key for now
Future Work
Summary by CodeRabbit
New Features
RustCompilerSection
component for Rust code execution.CodeEditorWindow
component with Monaco Editor integration.OutputWindow
component to display compilation outputs.Bug Fixes
Style
Chores