# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "filemagic" version = "0.13.1" authors = [ "MARIRS ", "robo9k ", ] build = "build.rs" exclude = [ ".gitignore", ".travis.yml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "libmagic bindings" homepage = "https://github.com/marirs/filemagic-rs" readme = "README.md" keywords = [ "magic", "binding", "file", "filemagic", "libmagic", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/marirs/filemagic-rs" [profile.dev] opt-level = 3 [profile.release] opt-level = 3 lto = true debug = 0 debug-assertions = false [lib] name = "filemagic" path = "src/lib.rs" [dependencies.bitflags] version = "2" [dependencies.libc] version = "0.2" default-features = false [dev-dependencies.regex] version = "1.4.2" [build-dependencies.cc] version = "1.1.28" optional = true [build-dependencies.pkg-config] version = "0.3.27" optional = true [build-dependencies.vcpkg] version = "0.2.15" optional = true [features] default = [ "pkg-config", "vcpkg", ] v5-45 = [] vendored = [ "cc", "v5-45", ] [badges.travis-ci] repository = "marirs/filemagic-rs"