22 releases

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

#123 in #site

Download history 119/week @ 2024-07-29 781/week @ 2024-08-05 383/week @ 2024-08-12 60/week @ 2024-08-19 14/week @ 2024-08-26 27/week @ 2024-09-02 17/week @ 2024-09-09 6/week @ 2024-09-16 30/week @ 2024-09-23 11/week @ 2024-09-30 9/week @ 2024-10-14 32/week @ 2024-10-21 157/week @ 2024-10-28 27/week @ 2024-11-04 6/week @ 2024-11-11

224 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
~34K SLoC