robo9k / rust-magic-sys

Rust declarations crate for the `libmagic` C library
Apache License 2.0
10 stars 6 forks source link

Make crate `#![no_std]` #25

Closed robo9k closed 3 years ago

robo9k commented 3 years ago

Technically since this crate only contains code that works without std, it can be no_std. Realistically those no_std targets are unlikely to support libmagic 🤷

The magic crate uses e.g. std::path::Path, so it probably won't be able to make use of this.

No automated CI is added to ensure the crate remains no_std compatible.

This is a semver compatible change.