init_dir

Crates.ioinit_dir
lib.rsinit_dir
version0.1.3
sourcesrc
created_at2024-05-26 03:55:46.405995
updated_at2024-06-13 10:21:03.354316
descriptioninit_dir
homepagehttps://github.com/i18n-site/rust/tree/main/init_dir
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1252331
size3,240
(3tieto)

documentation

README

init_dir

use aok::{Result, OK};
use static_init::constructor;
use tracing::info;

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

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

#[test]
fn test() -> Result<()> {
  info!("{}", 123456);
  OK
}
Commit count: 3

cargo fmt