This is an experiment at moving our fork of the Ruby stringex gem to a new gem that uses the unidecode rust crate.
We hope that it will have a much lower memory footprint in our application.
To run tests:
- Install cargo+rust
bundle install
bundle exec rake
To compile:
- Install cargo+rust
bundle install
bundle exec rake compile
To build and install locally:
- gem build unidecode_rust.gemspec
- gem install unidecode_rust-0.1.0.gem
To try it out:
bin/console
irb(main):001:0> remove_formatting 'Καλημέρα'
=> "Kalemera"