[package]
name = "tree_magic_fork"
version = "0.2.2"
authors = ["Aaron Hancock <aahancoc@umflint.edu>"]
description = "Determines the MIME type of a file by traversing a filetype tree."
repository = "https://github.com/aahancoc/tree_magic/"
documentation = "https://docs.rs/tree_magic/"
readme = "README.md"
keywords = ["mime", "filesystem", "media-types"]
license = "MIT"
exclude = ["tests/*"]
[dependencies]
petgraph = "0.4.13"
nom = "2"
lazy_static = "1.3.0"
fnv = "1.0.6"
parking_lot = "0.8.0"
tabwriter = { version = "1.1.0", optional = true }
clap = { version = "2.33.0", optional = true }
scoped_threadpool = { version = "0.1.9", optional = true }
walkdir = { version = "2.2.7", optional = true }
num_cpus = { version = "1.10.0", optional = true }
[features]
cli = ["clap", "tabwriter", "scoped_threadpool", "walkdir", "num_cpus"]
staticmime = []
default = []
[lib]
crate-type = ["lib"]
path = "src/lib.rs"
[[bin]]
required-features = ["cli"]
name = "tmagic"
path = "src/main.rs"