$ convert_case

v0.11.0

Convert strings into any case

Downloads: 269.7M
Recent: 46.7M
Versions: 14
Updated: January 31, 2026

Latest Update Summary

Crate

Name: convert_case New version: 0.9.0 Release date: 2025-11-06T12:32:42.145656Z

Crate readme

Short description Converts to and from various cases.

Long description Convert case is written in Rust and is ready to be used inline with your rust code as a library. It provides a macro ccase! for easy case conversion. The crate also offers a command line utility ccase to expose its tools. The library is no_std compatible and provides various case formats including snake, title, camel, and more.

Features • no_std compatibility • ccase! macro for case conversion • Supports multiple cases: snake, title, camel, etc. • Command line utility for case conversion • Custom boundary conditions

Code Examples Basic usage

 use convert_case::ccase;

assert_eq!(
    ccase!(camel, "My_Var_Name"),
    "myVarName",
);
assert_eq!(
    ccase!(snake, "IOStream"),
    "io_stream",
);

Command Line Usage

 $ ccase -t title super_mario_64
Super Mario 64

Linkshttps://github.com/rutrum/convert-casehttps://crates.io/crates/convert_casehttps://docs.rs/convert_casehttps://github.com/rutrum/ccasehttps://crates.io/crates/ccase

Release info

Release version: N/A

Release description N/A

Code Examples N/A

Minor update: 0.10.0 → 0.11.0

$ DOWNLOADS TREND

207.8M269.7M

$ VERSION HISTORY

v0.11.0January 31, 2026
v0.10.0November 23, 2025
v0.9.0November 6, 2025
v0.8.0February 26, 2025

$ LINKS

$ INSTALL

cargo add convert_case

Or add to Cargo.toml: convert_case = "0.11.0"