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
.dockerignoreconfig.toml.example
.dockerignore
Raw Download
Find: Go to:
# Rust build artifacts
target/
Cargo.lock

# Git
.git/
.gitignore

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
Thumbs.db
ehthumbs.db
Icon?

# Logs
*.log
logs/

# Configuration files with secrets
.env
.env.local

# Temporary files
tmp/
temp/
*.tmp

# Documentation build
docs/build/

# Test coverage
coverage/

# Node modules (if any)
node_modules/

# Database files
*.db
*.sqlite
*.sqlite3

# SSL certificates
*.pem
*.key
*.crt
*.csr

# Compressed files
*.zip
*.tar.gz
*.rar

# Large files
*.iso
*.dmg
*.img
63 lines•611 B
text
config.toml.example
Raw Download
Find: Go to:
# Rust Web Server Configuration Example
# Copy this file to config.toml and modify as needed

# Server configuration
host = "127.0.0.1"
port = 8080
static_dir = "static"
workers = 4

# Connection limits
max_connections = 1000
request_timeout_secs = 30
buffer_size = 8192

# Security settings
enable_cors = true
cors_origins = ["http://localhost:3000", "http://localhost:8080"]
rate_limit_requests_per_minute = 100

# Logging
log_level = "info"
log_to_file = false
log_file_path = "logs/server.log"

# Database configuration (if using database features)
[database]
enabled = false
url = "sqlite:server.db"
max_connections = 10

# Authentication configuration
[auth]
enabled = false
jwt_secret = "your-secret-key-here"
token_expiry_hours = 24

# File upload configuration
[file_upload]
enabled = true
max_file_size_mb = 10
allowed_extensions = ["jpg", "jpeg", "png", "pdf", "txt", "zip"]
upload_dir = "uploads"

# WebSocket configuration
[websocket]
enabled = true
max_connections = 100
message_timeout_secs = 30

# Metrics and monitoring
[metrics]
enabled = true
prometheus_port = 9090
collect_system_metrics = true

# SSL/TLS configuration (for HTTPS)
[ssl]
enabled = false
cert_path = "certs/server.crt"
key_path = "certs/server.key"
60 lines•1.3 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