2 releases

0.1.3 Aug 17, 2024
0.1.1 Jun 13, 2024

#53 in #mark-down

39 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