Show HN: Rust framework for advanced file recognition and identification

by reimisdevon 8/7/2025, 3:38 AMwith 7 comments

Alternative to magic.h and infer. Zero dependencies. Fully extensible. Works in no_std, async, and embedded contexts.

by 0cf8612b2e1eon 8/7/2025, 5:51 AM

Minor thing, I find it off putting when a project describes itself as “one of the best frameworks”. Just launch straight into the offering and let users decide. You already have multiple selling points, no need for the blatant self promotion.

by landr0idon 8/7/2025, 6:07 AM

I hate to be one of those people that asks “what differentiates this from X”, but is there a selling point for why I’d want to use this over https://github.com/theseus-rs/file-type if I’m in a sync + std context and don’t really care about dependency count?

by self_awarenesson 8/7/2025, 10:27 AM

I think it could utilise somehow the file(1) database (/usr/share/misc/magic.mgc, /usr/share/misc/magic), it has lots of file formats detections already, although the format itself is a little limited.