Crates.io | title_case |
lib.rs | title_case |
version | 0.1.3 |
source | src |
created_at | 2024-04-28 19:28:16.576016 |
updated_at | 2024-06-13 10:41:15.457615 |
description | title_case |
homepage | https://github.com/i18n-site/rust/tree/main/title_case |
repository | https://github.com/i18n-site/rust.git |
max_upload_size | |
id | 1223497 |
size | 3,253 |
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
}