title_case

Crates.iotitle_case
lib.rstitle_case
version0.1.12
sourcesrc
created_at2024-04-28 19:28:16.576016
updated_at2024-08-17 13:38:31.673423
descriptiontitle_case
homepagehttps://github.com/i18n-site/rust/tree/main/title_case
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1223497
size5,259
i18n.site (i18nsite)

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`?", "`i18n` 是什么?"));
  OK
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Commit count: 22

cargo fmt