tfp

Crates.iotfp
lib.rstfp
version0.1.2
sourcesrc
created_at2024-08-01 14:27:19.066747
updated_at2024-08-01 14:27:19.066747
descriptiontfp
homepagehttps://github.com/i18n-site/rust/tree/main/tfp
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1322097
size4,685
i18n.site (i18nsite)

documentation

README

tfp

use std::path::PathBuf;

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

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

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

#[test]
fn test() -> Result<()> {
  let dir = env!("CARGO_MANIFEST_DIR");
  let dir: PathBuf = dir.into();
  let fp = dir.join("README.mdt");
  tfp::tfp(fp)?;
  OK
}
Commit count: 22

cargo fmt