Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Magical_rs (crates.io)
3 points by reimisdev 5 months ago | hide | past | favorite | 1 comment


A zero-dependency, no_std-friendly Rust crate that detects file types with surgical precision by matching magic bytes at exact offsets — including deep-offset formats like ISO and TAR. Built for speed, safety, and extensibility.

magical_rs is a lightweight, dependency-free Rust crate that detects file types by matching magic bytes (signatures) at specific offsets — including tricky formats like .iso with signatures 32KB into the file.

No external tools. No bloated dependencies. Just fast, reliable file type detection.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: