From d7c5d24c6a7fdd9df9f27e1370b393240a2226f4 Mon Sep 17 00:00:00 2001 From: msi Date: Wed, 12 Nov 2025 10:24:23 -0300 Subject: Init --- web/README.md | 10 ++++++++++ web/template/.gitignore | 1 + web/template/Cargo.toml | 9 +++++++++ web/template/LICENSE | 13 +++++++++++++ web/template/README.md | 5 +++++ web/template/cargo-generate.toml | 5 +++++ web/template/src/main.rs | 3 +++ 7 files changed, 46 insertions(+) create mode 100644 web/README.md create mode 100644 web/template/.gitignore create mode 100644 web/template/Cargo.toml create mode 100644 web/template/LICENSE create mode 100644 web/template/README.md create mode 100644 web/template/cargo-generate.toml create mode 100644 web/template/src/main.rs (limited to 'web') diff --git a/web/README.md b/web/README.md new file mode 100644 index 0000000..01cf846 --- /dev/null +++ b/web/README.md @@ -0,0 +1,10 @@ +# web template + +* Axum +* Graceful Shutdown +* Minijinja +* Prometheus +* Middleware Ip +* Config +* Tracing +* 404 diff --git a/web/template/.gitignore b/web/template/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/web/template/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/web/template/Cargo.toml b/web/template/Cargo.toml new file mode 100644 index 0000000..75024cc --- /dev/null +++ b/web/template/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "{{project-name}}" +version = "0.1.0" +description = "{{project-description}}" +authors = ["{{authors}}"] +license = "ISC" +edition = "2024" + +[dependencies] diff --git a/web/template/LICENSE b/web/template/LICENSE new file mode 100644 index 0000000..1d0d924 --- /dev/null +++ b/web/template/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2025 murilo ijanc' + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/web/template/README.md b/web/template/README.md new file mode 100644 index 0000000..18f5a8d --- /dev/null +++ b/web/template/README.md @@ -0,0 +1,5 @@ +# {{project-name}} + +## License + +This project is licensed under the ISC license ([LICENSE](LICENSE) or http://opensource.org/licenses/ISC) diff --git a/web/template/cargo-generate.toml b/web/template/cargo-generate.toml new file mode 100644 index 0000000..ec598e7 --- /dev/null +++ b/web/template/cargo-generate.toml @@ -0,0 +1,5 @@ +[template] +cargo_generate_version = ">=0.23.0" + +[placeholders] +project-description = { type = "string", prompt = "Short description of the project", default = "An example generated using the simple template" } diff --git a/web/template/src/main.rs b/web/template/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/web/template/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- cgit v1.2.3