Skip to content
Sean Ryan edited this page Sep 25, 2019 · 7 revisions

Home - Todo - Done - Not Doing


  • combine derive: #[derive(Copy, Clone)]

  • adjust use of slice arrays

const BROWSERS: &[&str] = &["firefox", "chrome"];

  • add test whitespace only - > ""

  • add --no-confirm to publish.sh

  • split lib.rs

ref: https://github.com/rust-lang/regex/tree/master/src


  • auto the release

https://crates.io/crates/cargo-release/0.11.2

  • add change log

  • with benchmark try simplify text processing code: use regexes more for detecting title case

  • is current matching case behaviour actually covered by test? (check use of lower case)


add negative tests:

  • 0 length string

docs:

  • add use x in example.

add missing features:

  • add is_an(word) -> bool

  • add numbers (read_numbers_literally)

  • add other

  • handle spaces (take first word), hyphenation

  • test more cases:

console.log(a('2')); // 'a 2'
console.log(a('8')); // 'an 8'
console.log(a('1892')); // 'a 1892' -> read "a one thousand eight hundred ninety-two"
console.log(a('1892', { numbers: 'colloquial' })); // 'an 1892' -> read "an eighteen ninety-two"
  • add docs (auto with rust?)

  • pub as crate -> cargo.io

  • add test harness to test cargo.io



Clone this wiki locally