From 14eeeceaa86b23ec963459dfccc29f816a6dcf0e Mon Sep 17 00:00:00 2001 From: davidontop Date: Wed, 17 Jul 2024 14:30:05 +0200 Subject: [PATCH] feat: new usual deps --- .editorconfig | 0 .gitignore | 0 .rustfmt.toml | 0 Cargo.toml | 13 ++++++++++++- LICENSE-GLWTPL | 0 LICENSE-GPL3 | 0 LICENSE-MIT | 0 README.md | 0 TEMPLATE.md | 0 cargo-generate.toml | 5 +++++ post.rhai | 0 pre.rhai | 0 src/lib.rs | 0 src/main.rs | 0 14 files changed, 17 insertions(+), 1 deletion(-) mode change 100644 => 100755 .editorconfig mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .rustfmt.toml mode change 100644 => 100755 Cargo.toml mode change 100644 => 100755 LICENSE-GLWTPL mode change 100644 => 100755 LICENSE-GPL3 mode change 100644 => 100755 LICENSE-MIT mode change 100644 => 100755 README.md mode change 100644 => 100755 TEMPLATE.md mode change 100644 => 100755 cargo-generate.toml mode change 100644 => 100755 post.rhai mode change 100644 => 100755 pre.rhai mode change 100644 => 100755 src/lib.rs mode change 100644 => 100755 src/main.rs diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.rustfmt.toml b/.rustfmt.toml old mode 100644 new mode 100755 diff --git a/Cargo.toml b/Cargo.toml old mode 100644 new mode 100755 index b915e23..03e18d7 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ authors = ["{{authors}}"] readme = "README.md" documentation = "https://docs.rs/{{project-name}}" license = "{{license}}" -repository = "git@github.com:{{username}}/{{project-name}}.git" +repository = "https://git.davidon.top/public/{{project-name}}.git" [dependencies] {% if serde -%} @@ -19,5 +19,16 @@ tracing = "0.1" tracing-subscriber = "0.3" {%- endif -%} {%- if async %} +async-global-executor = { version = "2", features = ["tokio"] } tokio = { version = "1.0", features = ["full"] } {%- endif -%} +{%- 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" diff --git a/LICENSE-GLWTPL b/LICENSE-GLWTPL old mode 100644 new mode 100755 diff --git a/LICENSE-GPL3 b/LICENSE-GPL3 old mode 100644 new mode 100755 diff --git a/LICENSE-MIT b/LICENSE-MIT old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/TEMPLATE.md b/TEMPLATE.md old mode 100644 new mode 100755 diff --git a/cargo-generate.toml b/cargo-generate.toml old mode 100644 new mode 100755 index d3b1f77..92d5d60 --- a/cargo-generate.toml +++ b/cargo-generate.toml @@ -20,6 +20,11 @@ type = "bool" prompt = "Tracing?" default = true +[placeholders.axum] +type = "bool" +prompt = "axum?" +default = true + [placeholders.license] type = "string" prompt = "License?" diff --git a/post.rhai b/post.rhai old mode 100644 new mode 100755 diff --git a/pre.rhai b/pre.rhai old mode 100644 new mode 100755 diff --git a/src/lib.rs b/src/lib.rs old mode 100644 new mode 100755 diff --git a/src/main.rs b/src/main.rs old mode 100644 new mode 100755