3 releases

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

#134 in #site

Download history 9/week @ 2024-07-01 17/week @ 2024-07-15 14/week @ 2024-08-05 131/week @ 2024-08-12 31/week @ 2024-08-19 9/week @ 2024-08-26 9/week @ 2024-09-02 4/week @ 2024-09-09 16/week @ 2024-09-16 14/week @ 2024-09-23 17/week @ 2024-09-30 199/week @ 2024-10-14

231 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–10MB
~87K SLoC