Increment minor version number, remove translate_strings.rs and other old code

main v0.5.0
John Zacarias Jekel 1 year ago
parent ee2eef8b25
commit 10af4bd813
  1. 7
      Cargo.toml
  2. 21
      src/anslatortray.rs
  3. 1100
      src/translate_strings.rs

@ -1,6 +1,6 @@
[package]
name = "anslatortray"
version = "0.4.0"
version = "0.5.0"
description = "A simple Rust library to translate from English to Pig Latin!"
authors = ["John Zacarias Jekel <john@jekel.ca>"]
readme = "README.md"
@ -27,11 +27,6 @@ path = "src/lib.rs"
name = "anslatortray"
path = "src/anslatortray.rs"
#[features]
#default = ["default_style_way"]
#default_style_way = []
#default_style_yay = []
[profile.dev]
incremental = true

@ -11,26 +11,6 @@
use anslatortray::translate;
use anslatortray::byte_string;
/* Constants */
//TODO
/* Macros */
//TODO (also pub(crate) use the_macro statements here too)
/* Static Variables */
//TODO
/* Types */
//TODO
/* Associated Functions and Methods */
//TODO
/* Functions */
fn main() {
@ -112,7 +92,6 @@ fn file(args: &Vec<String>) {
let file_contents = std::fs::read_to_string(input_file).unwrap();
let start_time = std::time::Instant::now();
let translated_file_contents = translate(&file_contents);
//let translated_file_contents = ascii::translate(file_contents.as_bytes());//TESTING
let time_to_translate = start_time.elapsed();
std::fs::write(output_file, &translated_file_contents).unwrap();

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save