feat(storage): add generic object storage adapter with CQRS traits, key validation, StorageConfig, and cargo-generate integration

This commit is contained in:
2026-05-23 22:34:24 +02:00
parent 3fa46a4d58
commit 11e75f9bb4
21 changed files with 1246 additions and 15 deletions

View File

@@ -33,3 +33,27 @@ ignore = ["crates/worker"]
[conditional.'!auth_oidc']
ignore = ["crates/adapters/auth/src/oidc.rs"]
[placeholders.storage]
type = "bool"
prompt = "Include object storage adapter (local/S3/GCS)?"
default = false
[placeholders.storage_s3]
type = "bool"
prompt = "Include S3/MinIO backend?"
default = false
if = "storage"
[placeholders.storage_gcs]
type = "bool"
prompt = "Include GCS backend?"
default = false
if = "storage"
[conditional.'!storage']
ignore = [
"crates/adapters/storage",
"crates/domain/src/ports/storage.rs",
"crates/presentation/src/handlers/storage_example.rs",
]