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

#133 in #site

22 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
~33K SLoC