2 releases

0.1.2 Aug 17, 2024
0.1.1 Jun 13, 2024

#46 in #mark-down

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

MulanPSL-2.0

9KB
75 lines

ver_count

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

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

// #[tokio::test]
// async fn test() -> Result<()> {
//   info!("{}", 123456);
//   OK
// }

#[test]
fn test() -> Result<()> {
  let ver_li = ["0.1.0", "0.1.3", "0.1.2", "0.1.2"];
  let mut vc = VerCount::default();
  for i in ver_li {
    vc.push(i);
  }
  println!("{:?}", vc.map());
  OK
}

About

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

关于

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

Dependencies

~135KB