ver_count

Crates.iover_count
lib.rsver_count
version0.1.2
sourcesrc
created_at2024-06-13 10:23:37.316645
updated_at2024-08-17 13:21:53.941909
descriptionver_count
homepagehttps://github.com/i18n-site/rust/tree/main/ver_count
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1270487
size5,270
i18n.site (i18nsite)

documentation

README

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 ⋅ 国际化解决方案 的开源组件。

Commit count: 21

cargo fmt