forked from aahancoc/tree_magic
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
41 lines (35 loc) · 914 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "tree_magic_mini"
version = "3.1.6"
authors = [
"Matt Brubeck <mbrubeck@limpet.net>",
"Allison Hancock <aahancoc@umich.edu>",
]
description = "Determines the MIME type of a file by traversing a filetype tree."
repository = "https://github.com/mbrubeck/tree_magic/"
documentation = "https://docs.rs/tree_magic_mini/"
readme = "README.md"
categories = ["parser-implementations", "filesystem"]
keywords = ["mime", "filesystem", "media-types"]
license = "MIT"
exclude = ["tests/*", "benches/*/"]
edition = "2021"
[dependencies]
petgraph = "0.6.0"
nom = "7.0"
fnv = "1.0"
memchr = "2.0"
once_cell = "1.0"
tree_magic_db = { version = "3.0", path = "./magic_db" , optional = true }
[features]
with-gpl-data = ["dep:tree_magic_db"]
[dev-dependencies]
bencher = "0.1.0"
[workspace]
members = ["magic_db"]
[[bench]]
name = "from_u8"
harness = false
[[bench]]
name = "match_u8"
harness = false