Initial commit

This commit is contained in:
Ceferino Patino 2024-12-22 22:53:44 -06:00
commit 85502fd7df
Signed by: c4patino
SSH key fingerprint: SHA256:9fQ9TsujGrdNNi76mnsu63v7dS5JOmHRZEqBOl49OR8
3 changed files with 38 additions and 0 deletions

26
.gitignore vendored Normal file
View file

@ -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

9
Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "text-editor"
version = "0.1.0"
edition = "2021"
authors = ["Ceferino Patino <c4patino@gmail.com>"]
license = "MIT"
[dependencies]
crossterm = "0.28.1"

3
src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}