templ-rust/Cargo.toml

35 lines
952 B
TOML
Raw Normal View History

2023-12-07 21:24:40 +01:00
[package]
2024-01-28 11:55:06 +01:00
name = "{{project-name}}"
2023-12-07 21:24:40 +01:00
version = "0.1.0"
edition = "2021"
2024-01-28 11:55:06 +01:00
description = "{{project-name}}"
authors = ["{{authors}}"]
2023-12-07 21:24:40 +01:00
readme = "README.md"
2024-01-28 11:55:06 +01:00
documentation = "https://docs.rs/{{project-name}}"
license = "{{license}}"
2024-07-17 14:30:05 +02:00
repository = "https://git.davidon.top/public/{{project-name}}.git"
2023-12-07 21:24:40 +01:00
[dependencies]
2024-01-28 12:16:03 +01:00
{% if serde -%}
2023-12-07 21:24:40 +01:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2024-01-28 12:13:27 +01:00
{%- endif -%}
2024-01-28 12:18:14 +01:00
{%- if tracing %}
2023-12-07 21:24:40 +01:00
tracing = "0.1"
tracing-subscriber = "0.3"
2024-01-28 12:13:27 +01:00
{%- endif -%}
2024-01-28 12:18:14 +01:00
{%- if async %}
2024-07-17 14:30:05 +02:00
async-global-executor = { version = "2", features = ["tokio"] }
2023-12-07 21:24:40 +01:00
tokio = { version = "1.0", features = ["full"] }
2024-01-28 12:13:27 +01:00
{%- endif -%}
2024-07-17 14:30:05 +02:00
{%- if axum %}
axum = "0"
tower = { version = "0", features = ["full"] }
tower-http = { version = "0", features = ["fs"] }
leptos_reactive = { version = "0", features = ["ssr", "nightly"] }
leptos_reactive_axum = { version = "1", features = ["nightly"] }
{%- endif -%}
anyhow = "1"
scopeguard = "1"
partial_application = "0"