From 85502fd7dfbcc2c5b09347bcb733cc51add2ee77 Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Sun, 22 Dec 2024 22:53:44 -0600 Subject: [PATCH] Initial commit --- .gitignore | 26 ++++++++++++++++++++++++++ Cargo.toml | 9 +++++++++ src/main.rs | 3 +++ 3 files changed, 38 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e91eeb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +/target +# Created by https://www.toptal.com/developers/gitignore/api/direnv,rust +# Edit at https://www.toptal.com/developers/gitignore?templates=direnv,rust + +### direnv ### +.direnv +.envrc + +### Rust ### +# 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 + +# End of https://www.toptal.com/developers/gitignore/api/direnv,rust + diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..064b730 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "text-editor" +version = "0.1.0" +edition = "2021" +authors = ["Ceferino Patino "] +license = "MIT" + +[dependencies] +crossterm = "0.28.1" diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}