No commit activity in last 3 years
No release in over 3 years
Snake to Camel case
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Rusty Camel

Ruby snake to camel in rust

Example

require 'rusty_camel'

"some_snake_case_string".camelcase
"someCamelCaseString".snakecase

Benchmark

Converting 50k rails accounts in json format

To camel case
       user     system      total        real
Rust  0.970000   0.080000   1.050000 (  1.056655)
Ruby  9.940000   0.360000  10.300000 ( 10.363646)

To snake case
       user     system      total        real
Rust  1.100000   0.100000   1.200000 (  1.208300)
Ruby 10.960000   0.430000  11.390000 ( 11.404156)