ver_count

Crates.iover_count
lib.rsver_count
version0.1.1
sourcesrc
created_at2024-06-13 10:23:37.316645
updated_at2024-06-13 10:23:37.316645
descriptionver_count
homepagehttps://github.com/i18n-site/rust/tree/main/ver_count
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1270487
size4,058
(3tieto)

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
}
Commit count: 20

cargo fmt