Files
k-template/crates/bootstrap/Cargo.toml.liquid

37 lines
1.1 KiB
Plaintext

[package]
name = "bootstrap"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "{{project_name}}"
path = "src/main.rs"
[dependencies]
domain = { workspace = true }
application = { workspace = true }
adapters-auth = { workspace = true }
{% if storage and storage_s3 and storage_gcs %}
adapters-storage = { workspace = true, features = ["s3", "gcs"] }
{% elsif storage and storage_s3 %}
adapters-storage = { workspace = true, features = ["s3"] }
{% elsif storage and storage_gcs %}
adapters-storage = { workspace = true, features = ["gcs"] }
{% elsif storage %}
adapters-storage = { workspace = true }
{% endif %}
presentation = { workspace = true }
{% if database == "sqlite" %}
adapters-sqlite = { path = "../adapters/sqlite" }
{% endif %}
{% if database == "postgres" %}
adapters-postgres = { path = "../adapters/postgres" }
{% endif %}
tokio = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
dotenvy = { workspace = true }
tower-http = { workspace = true }
axum = { workspace = true }