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