title_case

Crates.iotitle_case
lib.rstitle_case
version0.1.3
sourcesrc
created_at2024-04-28 19:28:16.576016
updated_at2024-06-13 10:41:15.457615
descriptiontitle_case
homepagehttps://github.com/i18n-site/rust/tree/main/title_case
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1223497
size3,253
(3tieto)

documentation

README

title_case

use aok::{Result, OK};
use static_init::constructor;
use title_case::title_case;
use tracing::info;

#[constructor(0)]
extern "C" fn init() {
  loginit::init()
}

#[tokio::test]
async fn test() -> Result<()> {
  info!(
    "{}",
    title_case("what is i18n?".split(' '), "i18n 是什么?")
  );
  OK
}
Commit count: 20

cargo fmt