# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] name = "tree_magic" version = "0.2.3" authors = ["Allison Hancock "] exclude = ["tests/*", "benches/*"] description = "Determines the MIME type of a file by traversing a filetype tree." documentation = "https://docs.rs/tree_magic/" readme = "README.md" keywords = ["mime", "filesystem", "media-types"] license = "MIT" repository = "https://github.com/aahancoc/tree_magic/" [lib] crate-type = ["lib"] path = "src/lib.rs" [[bin]] name = "tmagic" path = "src/main.rs" required-features = ["cli"] [dependencies.clap] version = "^2" optional = true [dependencies.fnv] version = "^1" [dependencies.lazy_static] version = "^1.4" [dependencies.nom] version = "^3" [dependencies.num_cpus] version = "^1" optional = true [dependencies.parking_lot] version = "^0.10" [dependencies.petgraph] version = "^0.5" [dependencies.scoped_threadpool] version = "^0.1" optional = true [dependencies.tabwriter] version = "^1" optional = true [dependencies.walkdir] version = "^2" optional = true [features] cli = ["clap", "tabwriter", "scoped_threadpool", "walkdir", "num_cpus"] default = [] staticmime = []