robo9k / rust-magic-sys

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

Add magic_load_buffers #10

Closed ghost closed 3 years ago

ghost commented 5 years ago

Add a missing magic_load_buffers (load magic databases from memory) declaration as a prerequisite for a rust-magic PR.

robo9k commented 3 years ago

Hej @interruptinuse

I've added magic_load_buffers() and other libmagic API changes in #16 I believe the other merge request obsolete yours, so I will close yours. I will publish a new magic-sys version soon.

I plan on updating the magic crate to provide the new API, but might not use robo9k/rust-magic#20 as-is.

Thank you for your contribution!