[[bin]]
name = "tmagic"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.clap]
optional = true
version = "^2"
[dependencies.fnv]
version = "^1"
[dependencies.lazy_static]
version = "^1.4"
[dependencies.nom]
version = "^3"
[dependencies.num_cpus]
optional = true
version = "^1"
[dependencies.parking_lot]
version = "^0.10"
[dependencies.petgraph]
version = "^0.5"
[dependencies.scoped_threadpool]
optional = true
version = "^0.1"
[dependencies.tabwriter]
optional = true
version = "^1"
[dependencies.walkdir]
optional = true
version = "^2"
[features]
cli = ["clap", "tabwriter", "scoped_threadpool", "walkdir", "num_cpus"]
default = []
staticmime = []
[lib]
crate-type = ["lib"]
path = "src/lib.rs"
[package]
authors = ["Allison Hancock <aahancoc@umich.edu>"]
description = "Determines the MIME type of a file by traversing a filetype tree."
documentation = "https://docs.rs/tree_magic/"
exclude = ["tests/*", "benches/*"]
keywords = ["mime", "filesystem", "media-types"]
license = "MIT"
name = "tree_magic"
readme = "README.md"
repository = "https://github.com/aahancoc/tree_magic/"
version = "0.2.3"