3 releases

0.1.4 Oct 15, 2024
0.1.3 Aug 17, 2024
0.1.1 Jun 13, 2024

#160 in #site

Download history 3/week @ 2024-07-19 3/week @ 2024-08-02 11/week @ 2024-08-09 153/week @ 2024-08-16 16/week @ 2024-08-23 9/week @ 2024-08-30 5/week @ 2024-09-06 14/week @ 2024-09-13 14/week @ 2024-09-20 15/week @ 2024-09-27 5/week @ 2024-10-04 178/week @ 2024-10-11 33/week @ 2024-10-18 13/week @ 2024-10-25 9/week @ 2024-11-01

233 downloads per month
Used in 2 crates (via i18n_js)

MulanPSL-2.0

26KB
493 lines

yml_dict_li

use std::path::PathBuf;

use aok::{Result, OK};
use static_init::constructor;

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

#[test]
fn test() -> Result<()> {
  let dir: PathBuf = env!("CARGO_MANIFEST_DIR").into();

  let li = yml_dict_li::set(dir.join("tests/test.yml"), "0.1.2", "1.2.4")?;
  dbg!(li);
  OK
}

About

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

关于

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

Dependencies

~3.5–9.5MB
~87K SLoC