naming-conventions 1.0.0

Naming Conventions
Documentation

Naming Conventions

crates.io MSRV Documentation LICENSE codecov Build Status dependency status downloads

Simple and Fast naming convention library.

Quick Start Guide

use naming_conventions::{get_convention, CaseName};

fn main() {
  let snake_case = get_convention(CaseName::SnakeCase);

  let string = "camelCase";

  println!("string to snake_case: {}", snake_case.to(string).unwrap());
  println!("string is snake_case: {}", snake_case.is(string).unwrap());
}

License

MIT