help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
rust-web-server
RSK World
rust-web-server
Rust Web Server - High-Performance Async Web Server + WebSocket Support + JWT Authentication + File Upload + Memory Safety + Educational Design
rust-web-server
  • .github
  • .vscode
  • benches
  • docs
  • src
  • static
  • tests
  • .dockerignore611 B
  • .editorconfig735 B
  • .env.example676 B
  • .gitignore1.4 KB
  • CHANGELOG.md2 KB
  • CONTRIBUTING.md3.3 KB
  • Cargo.toml1.7 KB
  • Dockerfile1.1 KB
  • LICENSE1.4 KB
  • Makefile2.4 KB
  • README.md7.9 KB
  • SECURITY.md3.2 KB
  • clippy.toml946 B
  • config.toml.example1.3 KB
  • docker-compose.yml380 B
  • rustfmt.toml1.5 KB
CONTRIBUTING.md
CONTRIBUTING.md
Raw Download

CONTRIBUTING.md

# Contributing to Rust Web Server

Thank you for your interest in contributing to the Rust Web Server project! We welcome contributions from the community.

## ๐Ÿš€ Getting Started

### Prerequisites

- Rust 1.70+ installed
- Cargo package manager
- Git

### Development Setup

1. Fork the repository
2. Clone your fork:
```bash
git clone https://github.com/your-username/rust-web-server.git
cd rust-web-server
```

3. Set up the development environment:
```bash
make setup
```

4. Run the server in development mode:
```bash
make dev
```

## ๐Ÿ› ๏ธ Development Workflow

### Code Style

- Follow Rust's official style guidelines
- Use `cargo fmt` to format your code
- Run `cargo clippy` to check for linting issues
- Maximum line length: 100 characters

### Testing

- Write tests for new features
- Run the test suite:
```bash
make test
```

- Ensure all tests pass before submitting a PR

### Commit Messages

Use clear, descriptive commit messages following this format:

```
type(scope): description

[optional body]

[optional footer]
```

Types:
- `feat`: New feature
- `fix`: Bug fix
- `docs`: Documentation
- `style`: Code style changes
- `refactor`: Code refactoring
- `test`: Adding tests
- `chore`: Maintenance

## ๐Ÿ“‹ Pull Request Process

1. Create a feature branch from `main`:
```bash
git checkout -b feature/your-feature-name
```

2. Make your changes and ensure tests pass:
```bash
make ci
```

3. Update documentation if needed

4. Commit your changes:
```bash
git commit -m "feat: add new feature"
```

5. Push to your fork:
```bash
git push origin feature/your-feature-name
```

6. Create a Pull Request with:
- Clear title and description
- Reference any related issues
- Screenshots/demo if applicable

## ๐Ÿงช Testing Guidelines

### Unit Tests

- Place unit tests in the same file as the code they're testing
- Use descriptive test names
- Test both success and error cases

### Integration Tests

- Place integration tests in `tests/` directory
- Test API endpoints and external integrations

### Manual Testing

- Test the web interface in different browsers
- Test API endpoints with tools like curl or Postman
- Test file uploads and WebSocket connections

## ๐Ÿ“š Documentation

- Update README.md for new features
- Add doc comments to public APIs
- Update API documentation in the web interface

## ๐Ÿ› Reporting Bugs

When reporting bugs, please include:

- Clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, Rust version, etc.)
- Screenshots/logs if applicable

## ๐Ÿ’ก Feature Requests

We welcome feature requests! Please:

- Check if the feature already exists or is planned
- Describe the use case clearly
- Explain why it would be valuable
- Consider implementation complexity

## ๐Ÿ“ž Contact

For questions or discussions:

- **Issues**: Use GitHub issues for bugs and feature requests
- **Discussions**: Use GitHub discussions for general questions
- **Email**: hello@rskworld.in

## ๐Ÿ“œ Code of Conduct

This project follows a code of conduct to ensure a welcoming environment for all contributors.

---

**ยฉ 2026 RSK World. All rights reserved.**

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer