3 releases

new 0.1.3 Jun 13, 2024
0.1.2 Apr 28, 2024
0.1.1 Apr 28, 2024

#69 in #ok

Download history 97/week @ 2024-04-22 165/week @ 2024-04-29 3/week @ 2024-05-27 145/week @ 2024-06-10

148 downloads per month

Apache-2.0

3KB

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
}

Dependencies

~3KB