feat(settings): add CorsSettings struct for CORS configuration

Implements CorsSettings struct with validation and deserialization support
for configuring Cross-Origin Resource Sharing in the application settings.

Ref: T010 (specs/001-modbus-relay-control)
This commit is contained in:
2026-01-01 23:29:31 +01:00
parent b1fd30af67
commit 9a55aa433c
8 changed files with 982 additions and 14 deletions

1
Cargo.lock generated
View File

@@ -2639,6 +2639,7 @@ dependencies = [
"poem-openapi",
"serde",
"serde_json",
"serde_yaml",
"sqlx",
"tempfile",
"thiserror",