Skip to content

Commit f6cf0e3

Browse files
ismoilovdevmlclaude
andcommitted
πŸŽ‰ Release v1.0.3 - Production Ready SSL & ARM64 Support
## πŸ” SSL/TLS Improvements - βœ… **Full SSL Support**: HTTPS now works with Let's Encrypt certificates - βœ… **Multi-Format Private Keys**: Supports RSA, ECDSA, and Ed25519 in both RSA and PKCS8 formats - βœ… **Internal Tagging**: Fixed TOML deserialization with `#[serde(tag = "type")]` - βœ… **Auto HTTPβ†’HTTPS Redirect**: HttpsRedirector middleware enabled by default ## πŸ—οΈ Build & CI/CD - βœ… **ARM64 MUSL Support**: Fixed aarch64-unknown-linux-musl builds with cross-rs - βœ… **Universal Linux Binaries**: Static MUSL binaries work on all Linux distros - βœ… **GitHub Actions Caching**: Rust build caching with Swatinem/rust-cache@v2 ## πŸ“ Configuration - Updated example configs with correct SSL syntax - Added documentation for all supported key formats - Simplified TOML configuration structure ## βœ… Tested Production Deployment - Deployed on git.kolxoz.uz with Let's Encrypt SSL - HTTPβ†’HTTPS redirect working - WebSocket support confirmed - Backend proxy to port 3000 working πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent fd84895 commit f6cf0e3

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

β€ŽCargo.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-strom"
3-
version = "0.1.0"
3+
version = "1.0.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

β€Žconfigs/config.tomlβ€Ž

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,20 @@ window_sec = 1
144144
# TLS/SSL CERTIFICATES
145145
# ═══════════════════════════════════════════════════════════════
146146

147-
# Option 1: Local Certificate Files
147+
# Option 1: Local Certificate Files (use absolute or relative paths)
148148
# [certificates."example.com"]
149-
# Local = {
150-
# certificate_path = "certs/example.com.crt",
151-
# private_key_path = "certs/example.com.key"
152-
# }
149+
# type = "Local"
150+
# certificate_path = "certs/example.com.crt" # Or "/etc/letsencrypt/live/example.com/fullchain.pem"
151+
# private_key_path = "certs/example.com.key" # Or "/etc/letsencrypt/live/example.com/privkey.pem"
152+
#
153+
# Supports RSA, ECDSA, and Ed25519 private keys in both RSA and PKCS8 formats
153154

154155
# Option 2: ACME (Let's Encrypt) - Automatic SSL
155156
# [certificates."example.com"]
156-
# ACME = {
157-
# staging = false, # Use production Let's Encrypt
158-
# email = "[email protected]", # Your email for notifications
159-
# persist_dir = "acme-cache" # Directory to cache certificates
160-
# }
157+
# type = "ACME"
158+
# staging = false # Use production Let's Encrypt
159+
# email = "[email protected]" # Your email for notifications
160+
# persist_dir = "acme-cache" # Directory to cache certificates
161161

162162
# ═══════════════════════════════════════════════════════════════
163163
# ADVANCED MIDDLEWARE OPTIONS

0 commit comments

Comments
Β (0)