From 6b9e85f7d00431cf6ab949b0743a7b7c8b064904 Mon Sep 17 00:00:00 2001 From: Ada Werefox Date: Sun, 26 Mar 2023 13:27:17 +0000 Subject: [PATCH] Initial commit and new cargo created. --- .gitignore => next-js/.gitignore | 0 deploy.sh => next-js/deploy.sh | 0 .../docker-compose.yml | 0 {src => next-js/src}/letter/.eslintrc.json | 0 {src => next-js/src}/letter/.gitignore | 0 {src => next-js/src}/letter/cache/config.json | 0 {src => next-js/src}/letter/next.config.js | 0 {src => next-js/src}/letter/package-lock.json | 0 {src => next-js/src}/letter/package.json | 0 {src => next-js/src}/letter/postcss.config.js | 0 {src => next-js/src}/letter/public/favicon.ico | Bin .../DejaVuSansMono-Nerd-Font-Complete-Mono.ttf | Bin .../src}/letter/public/images/heart-icon.png | Bin {src => next-js/src}/letter/src/pages/_app.tsx | 0 .../src}/letter/src/pages/_document.tsx | 0 .../src}/letter/src/pages/api/hello.ts | 0 .../src}/letter/src/pages/index.tsx | 0 .../src}/letter/src/styles/globals.css | 0 {src => next-js/src}/letter/tailwind.config.js | 0 {src => next-js/src}/letter/tsconfig.json | 0 rust-letter/.gitignore | 17 +++++++++++++++++ rust-letter/Cargo.toml | 8 ++++++++ rust-letter/src/main.rs | 3 +++ 23 files changed, 28 insertions(+) rename .gitignore => next-js/.gitignore (100%) rename deploy.sh => next-js/deploy.sh (100%) rename docker-compose.yml => next-js/docker-compose.yml (100%) rename {src => next-js/src}/letter/.eslintrc.json (100%) rename {src => next-js/src}/letter/.gitignore (100%) rename {src => next-js/src}/letter/cache/config.json (100%) rename {src => next-js/src}/letter/next.config.js (100%) rename {src => next-js/src}/letter/package-lock.json (100%) rename {src => next-js/src}/letter/package.json (100%) rename {src => next-js/src}/letter/postcss.config.js (100%) rename {src => next-js/src}/letter/public/favicon.ico (100%) rename {src => next-js/src}/letter/public/fonts/DejaVuSansMono-Nerd-Font-Complete-Mono.ttf (100%) rename {src => next-js/src}/letter/public/images/heart-icon.png (100%) rename {src => next-js/src}/letter/src/pages/_app.tsx (100%) rename {src => next-js/src}/letter/src/pages/_document.tsx (100%) rename {src => next-js/src}/letter/src/pages/api/hello.ts (100%) rename {src => next-js/src}/letter/src/pages/index.tsx (100%) rename {src => next-js/src}/letter/src/styles/globals.css (100%) rename {src => next-js/src}/letter/tailwind.config.js (100%) rename {src => next-js/src}/letter/tsconfig.json (100%) create mode 100644 rust-letter/.gitignore create mode 100644 rust-letter/Cargo.toml create mode 100644 rust-letter/src/main.rs diff --git a/.gitignore b/next-js/.gitignore similarity index 100% rename from .gitignore rename to next-js/.gitignore diff --git a/deploy.sh b/next-js/deploy.sh similarity index 100% rename from deploy.sh rename to next-js/deploy.sh diff --git a/docker-compose.yml b/next-js/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to next-js/docker-compose.yml diff --git a/src/letter/.eslintrc.json b/next-js/src/letter/.eslintrc.json similarity index 100% rename from src/letter/.eslintrc.json rename to next-js/src/letter/.eslintrc.json diff --git a/src/letter/.gitignore b/next-js/src/letter/.gitignore similarity index 100% rename from src/letter/.gitignore rename to next-js/src/letter/.gitignore diff --git a/src/letter/cache/config.json b/next-js/src/letter/cache/config.json similarity index 100% rename from src/letter/cache/config.json rename to next-js/src/letter/cache/config.json diff --git a/src/letter/next.config.js b/next-js/src/letter/next.config.js similarity index 100% rename from src/letter/next.config.js rename to next-js/src/letter/next.config.js diff --git a/src/letter/package-lock.json b/next-js/src/letter/package-lock.json similarity index 100% rename from src/letter/package-lock.json rename to next-js/src/letter/package-lock.json diff --git a/src/letter/package.json b/next-js/src/letter/package.json similarity index 100% rename from src/letter/package.json rename to next-js/src/letter/package.json diff --git a/src/letter/postcss.config.js b/next-js/src/letter/postcss.config.js similarity index 100% rename from src/letter/postcss.config.js rename to next-js/src/letter/postcss.config.js diff --git a/src/letter/public/favicon.ico b/next-js/src/letter/public/favicon.ico similarity index 100% rename from src/letter/public/favicon.ico rename to next-js/src/letter/public/favicon.ico diff --git a/src/letter/public/fonts/DejaVuSansMono-Nerd-Font-Complete-Mono.ttf b/next-js/src/letter/public/fonts/DejaVuSansMono-Nerd-Font-Complete-Mono.ttf similarity index 100% rename from src/letter/public/fonts/DejaVuSansMono-Nerd-Font-Complete-Mono.ttf rename to next-js/src/letter/public/fonts/DejaVuSansMono-Nerd-Font-Complete-Mono.ttf diff --git a/src/letter/public/images/heart-icon.png b/next-js/src/letter/public/images/heart-icon.png similarity index 100% rename from src/letter/public/images/heart-icon.png rename to next-js/src/letter/public/images/heart-icon.png diff --git a/src/letter/src/pages/_app.tsx b/next-js/src/letter/src/pages/_app.tsx similarity index 100% rename from src/letter/src/pages/_app.tsx rename to next-js/src/letter/src/pages/_app.tsx diff --git a/src/letter/src/pages/_document.tsx b/next-js/src/letter/src/pages/_document.tsx similarity index 100% rename from src/letter/src/pages/_document.tsx rename to next-js/src/letter/src/pages/_document.tsx diff --git a/src/letter/src/pages/api/hello.ts b/next-js/src/letter/src/pages/api/hello.ts similarity index 100% rename from src/letter/src/pages/api/hello.ts rename to next-js/src/letter/src/pages/api/hello.ts diff --git a/src/letter/src/pages/index.tsx b/next-js/src/letter/src/pages/index.tsx similarity index 100% rename from src/letter/src/pages/index.tsx rename to next-js/src/letter/src/pages/index.tsx diff --git a/src/letter/src/styles/globals.css b/next-js/src/letter/src/styles/globals.css similarity index 100% rename from src/letter/src/styles/globals.css rename to next-js/src/letter/src/styles/globals.css diff --git a/src/letter/tailwind.config.js b/next-js/src/letter/tailwind.config.js similarity index 100% rename from src/letter/tailwind.config.js rename to next-js/src/letter/tailwind.config.js diff --git a/src/letter/tsconfig.json b/next-js/src/letter/tsconfig.json similarity index 100% rename from src/letter/tsconfig.json rename to next-js/src/letter/tsconfig.json diff --git a/rust-letter/.gitignore b/rust-letter/.gitignore new file mode 100644 index 0000000..0c82846 --- /dev/null +++ b/rust-letter/.gitignore @@ -0,0 +1,17 @@ +# Rust .gitignore + +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + diff --git a/rust-letter/Cargo.toml b/rust-letter/Cargo.toml new file mode 100644 index 0000000..bb8b834 --- /dev/null +++ b/rust-letter/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rust-letter" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/rust-letter/src/main.rs b/rust-letter/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/rust-letter/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}