This document is designed to guide developers who wish to contribute to our project. By contributing, you can help us improve and support our community.
-
Fork the Project: Start by forking the project to your GitHub account.
-
Code Edits: Apply the changes you want to make to the code. This could involve adding features, fixing bugs, or enhancing existing code.
-
Configuring Changes: Add a descriptive explanation of your changes, explaining what they accomplish and how they work.
-
Pull Request (PR): Open a Pull Request to integrate your changes into the main project. Remember to provide a clear explanation of your changes.
-
Feedback and Review: Project maintainers and other developers will review your changes and provide feedback. Make any necessary adjustments.
-
Approval and Merging: Once your changes are approved, they will be merged into the project.
-
Clone the project:
git clone https://github.com/emreyalvac/sulfur.git
-
Install necessary dependencies. For example:
cd sulfur cargo build
-
Start editing your code!
For any questions, suggestions, or assistance, you can email us at [email protected].
If you want to add a new engine to the project, you can follow these steps:
-
Navigate to the
engine
folder in the project directory. -
Create a new engine module or update an existing one. Below is an example engine code:
use async_trait::async_trait; // Add other required dependencies // Example engine module pub struct MyEngine { // Define engine fields } // Implement the TEngine trait for MyEngine #[async_trait] impl TEngine for MyEngine { // Implement method definitions }
-
Edit the relevant file in the
engine
folder or create a new one to add your engine to the project. -
Include examples that explain how to use and configure the new engine.
-
Don't forget to provide explanations for your changes.
-
Create a pull request and submit it for review.
Thank you for your contributions!