Crates.io | tfp |
lib.rs | tfp |
version | 0.1.2 |
source | src |
created_at | 2024-08-01 14:27:19.066747 |
updated_at | 2024-08-01 14:27:19.066747 |
description | tfp |
homepage | https://github.com/i18n-site/rust/tree/main/tfp |
repository | https://github.com/i18n-site/rust.git |
max_upload_size | |
id | 1322097 |
size | 4,685 |
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
}