Add package metadata

This commit is contained in:
Andrew Dinh 2020-07-17 13:08:40 -07:00
parent 939182c276
commit fa62deacac
2 changed files with 10 additions and 3 deletions

View File

@ -3,9 +3,16 @@ name = "via"
version = "0.1.0"
authors = ["Andrew Dinh <git@andrewkdinh.com>"]
edition = "2018"
readme = "README.md"
repository = "https://github.com/andrewkdinh/via"
homepage = "https://github.com/andrewkdinh/via"
license = "AGPL-3.0-or-later"
description = "An efficient text editor"
keywords = ["text", "editor"]
categories = ["command-line-utilities", "text-editors"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
termion = "^1.5"
regex = "^1.3"
regex = "^1.3"

View File

@ -59,8 +59,8 @@ fn main() {
}
stdout.flush().unwrap();
}
write!(stdout, "{}", termion::cursor::Show).unwrap();
*/
write!(stdout, "{}", termion::cursor::Show).unwrap();
}
/// Process command line options and return EditorOptions
@ -140,4 +140,4 @@ fn read_lines(reader: &mut BufReader<File>, num_lines: usize, str: &mut String)
temp_str.clear();
}
false
}
}