mojique 0.1.1

A safe Rust wrapper and pool implementation around libmagic
Documentation
1
2
3
4
5
6
7
8
9
10
#![allow(dead_code)]

use std::{path::Path, sync::LazyLock};

static MANIFEST_DIR: LazyLock<&'static Path> =
    LazyLock::new(|| Path::new(env!("CARGO_MANIFEST_DIR")));

pub(crate) fn manifest_dir() -> &'static Path {
    &MANIFEST_DIR
}