mojique 0.1.1

A safe Rust wrapper and pool implementation around libmagic
Documentation
1
2
3
4
5
6
7
8
9
10
use mojique::{Config, DefaultConfig};

fn main() -> anyhow::Result<()> {
    let mut handle = DefaultConfig::default().build_handle()?;
    let desc = handle.read(std::io::stdin())?;

    println!("{desc}");

    Ok(())
}