22 releases

new 0.1.23 Oct 31, 2024
0.1.22 Aug 17, 2024
0.1.10 Jun 13, 2024
0.1.9 May 22, 2024

#103 in #site

Download history 23/week @ 2024-07-11 12/week @ 2024-07-18 1/week @ 2024-07-25 233/week @ 2024-08-01 721/week @ 2024-08-08 364/week @ 2024-08-15 30/week @ 2024-08-22 19/week @ 2024-08-29 25/week @ 2024-09-05 11/week @ 2024-09-12 18/week @ 2024-09-19 21/week @ 2024-09-26 5/week @ 2024-10-03 4/week @ 2024-10-10 10/week @ 2024-10-17 35/week @ 2024-10-24

57 downloads per month
Used in 3 crates (2 directly)

MulanPSL-2.0

46KB
942 lines

ft

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

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

fn test() -> Result<()> {
  let ft: FromTo = [("zh", [""]), ("en", ["ja"])].into_iter().into();

  dbg!(ft);
  OK
}

About

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

关于

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

Dependencies

~1.1–1.8MB
~35K SLoC