From 3a8956f9cb85184ae2b8202d7a733124a0d3f95f Mon Sep 17 00:00:00 2001 From: ops Date: Sun, 20 Sep 2026 01:16:01 +0000 Subject: Add stricter compilation rules, dependency license reporting, and cargo deny configuration --- contact-service/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'contact-service/src/main.rs') diff --git a/contact-service/src/main.rs b/contact-service/src/main.rs index 403cb37..1abfe04 100644 --- a/contact-service/src/main.rs +++ b/contact-service/src/main.rs @@ -1,3 +1,5 @@ +//! Website Contact Form + // Copyright (C) 2026 Doan Luu Duc Tai // // This program is free software: you can redistribute it and/or modify @@ -115,7 +117,7 @@ async fn handle_message( let output_path = config.inbox_dir.join(filename); let payload = format!( - "=== RFC 9980 PQC MESSAGE ===\nSender: {}\nTimestamp: {}\n============================\n\n{}", + "=== BEGIN MESSAGE ===\nSender: {}\nTimestamp: {}\n============================\n\n{}", sender_display, now.to_rfc3339(), message @@ -171,7 +173,7 @@ const SUCCESS_PAGE: &str = r#" - Message Sent - Doan Luu Duc Tai + Message Sent -- cgit v1.2.3