Initial commit
This commit is contained in:
commit
85502fd7df
3 changed files with 38 additions and 0 deletions
26
.gitignore
vendored
Normal file
26
.gitignore
vendored
Normal 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
9
Cargo.toml
Normal 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
3
src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in a new issue