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
Makefile
Makefile
Raw Download
Find: Go to:
# Rust Web Server - Development Makefile
# Created by RSK World (https://rskworld.in)

.PHONY: help build run test clean check format lint doc docker-build docker-run

# Default target
help:
	@echo "๐Ÿฆ€ Rust Web Server - Development Commands"
	@echo ""
	@echo "Available commands:"
	@echo "  build       - Build the project in release mode"
	@echo "  run         - Run the server"
	@echo "  dev         - Run in development mode with auto-reload"
	@echo "  test        - Run all tests"
	@echo "  clean       - Clean build artifacts"
	@echo "  check       - Check code for errors without building"
	@echo "  format      - Format code with rustfmt"
	@echo "  lint        - Run clippy linter"
	@echo "  doc         - Generate documentation"
	@echo "  docker-build- Build Docker image"
	@echo "  docker-run  - Run with Docker Compose"
	@echo "  install     - Install dependencies"
	@echo "  help        - Show this help message"

# Build the project
build:
	@echo "๐Ÿ”จ Building Rust Web Server..."
	cargo build --release

# Run the server
run:
	@echo "๐Ÿš€ Starting Rust Web Server..."
	cargo run --release

# Run in development mode
dev:
	@echo "๐Ÿ”„ Running in development mode..."
	cargo watch -x run

# Run tests
test:
	@echo "๐Ÿงช Running tests..."
	cargo test

# Clean build artifacts
clean:
	@echo "๐Ÿงน Cleaning build artifacts..."
	cargo clean

# Check code for errors
check:
	@echo "๐Ÿ” Checking code..."
	cargo check

# Format code
format:
	@echo "๐ŸŽจ Formatting code..."
	cargo fmt

# Run clippy linter
lint:
	@echo "๐Ÿ”Ž Running clippy..."
	cargo clippy -- -D warnings

# Generate documentation
doc:
	@echo "๐Ÿ“š Generating documentation..."
	cargo doc --open

# Build Docker image
docker-build:
	@echo "๐Ÿณ Building Docker image..."
	docker build -t rust-web-server .

# Run with Docker Compose
docker-run:
	@echo "๐Ÿณ Starting with Docker Compose..."
	docker-compose up --build

# Install dependencies (if using additional tools)
install:
	@echo "๐Ÿ“ฆ Installing dependencies..."
	cargo install cargo-watch
	cargo install cargo-edit
	@echo "โœ… Dependencies installed"

# Development setup
setup: install
	@echo "โš™๏ธ  Setting up development environment..."
	@echo "โœ… Development environment ready"

# Full CI pipeline
ci: check lint test build
	@echo "โœ… CI pipeline completed successfully"

# Quick development cycle
dev-cycle: format lint test run
97 linesโ€ข2.4 KB
text

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