fix: correct paths for conditional dependencies in cargo-generate.toml

This commit is contained in:
2026-01-02 13:07:46 +01:00
parent 1d141c7a97
commit ff40174734

View File

@@ -12,10 +12,10 @@ database = { type = "string", prompt = "Database type", choices = [
[conditional] [conditional]
# Conditional dependencies based on database choice # Conditional dependencies based on database choice
sqlite = { condition = "database == 'sqlite'", ignore = [ sqlite = { condition = "database == 'sqlite'", ignore = [
"template-infra/src/user_repository_postgres.rs", "infra/src/user_repository_postgres.rs",
"migrations_postgres", "migrations_postgres",
] } ] }
postgres = { condition = "database == 'postgres'", ignore = [ postgres = { condition = "database == 'postgres'", ignore = [
"template-infra/src/user_repository_sqlite.rs", "infra/src/user_repository_sqlite.rs",
"migrations", "migrations",
] } ] }