robo9k / rust-magic-sys

Rust declarations crate for the `libmagic` C library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluate Windows support

robo9k opened this issue · comments

Right now no effort is made to build this crate on Windows.

One would need to evaluate the requirements (building/downloading/installing libmagic) and possibilities for continous integration.

AppVeyor provides a free plan for OSS projects.
It does not seem to support Rust directly, so one'd have to install Rust/Cargo manually.

It might be possible to use Cygwin to install gcc, pkg-config, autotools etc. to build libmagic. I do not know which of Cygwin, MinGW (or MSYS) works best with Rust. Having a dependency on Cygwin DLLs should not matter much for CI.