magic-sys 0.0.7

Declarations for `libmagic`
docs.rs failed to build magic-sys-0.0.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: magic-sys-0.3.0

rust-magic-sys Build Status

Rust declarations for libmagic.


This cargo -sys package provides libmagic declarations for e.g. the magic binding. Licensed under the MIT license (see LICENSE).

Usage

magic-sys is available on crates.io so you can use it like this (in your Cargo.toml):

[dependencies.magic-sys]
version = "0.0.4"

The rustdoc is available on GitHub Pages.

Requirements

libmagic needs to be installed in a standard location (also see issue #1).

On a Debian based Linux system this can be achieved like this:

sudo apt-get install libmagic1

On RHEL/Cent OS, Gentoo and others you will need to install the file package.

Feedback for Windows (issue #2) and OS X (issue #3) support is appreciated!