ndrean/magic_zig
Tiny Zig wrapper of libmagic
building a very thin wrapper. I need to check if the uploaded files are really images.
This project uses libmagic from the file project. Copyright (c) Ian F. Darwin 1986-1995. License: BSD-2-Clause (see LICENSE-libmagic).
libmagic
must be installed:
brew install libmagic
apt install libmagic-dev
dnf install file-devel